File tree Expand file tree Collapse file tree
custom_components/galatz_news Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ def play_galatz_news_service(call):
3333 else :
3434 HourFix = Hour
3535
36- _LOGGER .error (HourFix )
36+ # _LOGGER.error(HourFix)
3737
3838 Format = Year + month + Day + "-" + str (HourFix )
3939
@@ -55,11 +55,11 @@ def play_galatz_news_service(call):
5555 elif "mp3" in GetUrl :
5656 words = GetUrl .split ("mp3" )[0 ]
5757 UrlMp3 = words + "mp3"
58- _LOGGER .error (UrlMp3 )
58+ # _LOGGER.error(UrlMp3)
5959
60- _LOGGER .error (media_player_entity_id )
60+ # _LOGGER.error(media_player_entity_id)
6161 service_data = {"entity_id" :media_player_entity_id ,"media_content_id" :UrlMp3 ,"media_content_type" :"music" }
62- _LOGGER .error (service_data )
62+ # _LOGGER.error(service_data)
6363 hass .services .call ('media_player' , 'play_media' , service_data )
6464
6565 hass .services .register (DOMAIN , "play_galatz_news" , play_galatz_news_service )
You can’t perform that action at this time.
0 commit comments