Skip to content

Commit ae31a78

Browse files
authored
Update __init__.py
1 parent 4ab65ed commit ae31a78

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

custom_components/galatz_news/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)