updating configuration

This commit is contained in:
Your Name
2026-03-21 18:29:48 +00:00
parent 9498a076ee
commit d3d9a3919d
8 changed files with 70 additions and 87 deletions
+2 -1
View File
@@ -63,8 +63,9 @@ class TelegramInternetControl(hass.Hass):
text = event_args['text']
room = event_args['room']
alice = event_args['entity_id']
if text == self.block_command:
if text.lower() == self.block_command.lower():
self.handle_block_command('Monster1025')
self.say(alice, 'Интернет в детской отключен.')
def say(self, entity_id, command):
self.log('command = {}'.format(command))