Telegram fixy

This commit is contained in:
Martin Bauer
2019-07-15 22:02:40 +02:00
parent 5094864a4b
commit e4da3d56cb
7 changed files with 205 additions and 114 deletions

View File

@@ -3,8 +3,8 @@
default_config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
http:
base_url: https://ha.bauer.tech
# Discover some devices automatically
#discovery:
@@ -60,13 +60,19 @@ history:
ios:
#http:
# - base_url: ha.bauer.tech
telegram_bot:
- platform: webhooks
parse_mode: html
url: https://ha.bauer.tech
api_key: !secret telegram_token
allowed_chat_ids:
- !secret telegram_chatid_martin
trusted_networks:
- 127.0.0.1/32
- 192.168.178.80
- 149.154.167.197/32
- 149.154.167.198/31
- 149.154.167.200/29