Added telegram notify, fixes in pool pump stats

This commit is contained in:
Martin Bauer 2019-07-15 21:38:30 +02:00
parent 08a0d17fa0
commit 77a7ea34ad
3 changed files with 20 additions and 1 deletions

View File

@ -6,6 +6,7 @@ import knx_conf as knx
script_path = os.path.dirname(os.path.realpath(__file__))
yaml = YAML()
yaml.preserve_quotes = True
def add_knx_devices(devices, groups):

View File

@ -55,6 +55,22 @@ homekit:
- scene
recorder:
history:
ios:
telegram_bot:
- platform: polling
api_key: !secret telegram_token
allowed_chat_ids:
- !secret telegram_chatid_martin
notify:
- name: telegram_martin
platform: telegram
chat_id: !secret telegram_chatid_martin
# Custom stuff
dimmer:

View File

@ -1,2 +1,4 @@
vacuum_token: 515a69497537766d4f7a38756b4b654d
watson_api_key: X_tnnoaZGOwxZlqUn07wkD2G-0vaaAuOw6I6d_6jpCf7
telegram_token: 824902906:AAHKLyNuEX_Sd_r0S-3jiZ-OPnlWnO8XSeM
telegram_chatid_martin: 747324122