summaryrefslogtreecommitdiffstats
path: root/configuration.yaml
diff options
context:
space:
mode:
authorroot <root@smartpi.suren.me>2023-01-10 07:45:02 +0400
committerroot <root@smartpi.suren.me>2023-01-10 07:45:02 +0400
commit2c0c331eb7b7a03152309bbbd4e0fee157e8d86c (patch)
tree03391160212b39c4597ecc26010f2ba1235a65e3 /configuration.yaml
downloadhass-2c0c331eb7b7a03152309bbbd4e0fee157e8d86c.tar.gz
hass-2c0c331eb7b7a03152309bbbd4e0fee157e8d86c.tar.bz2
hass-2c0c331eb7b7a03152309bbbd4e0fee157e8d86c.tar.xz
hass-2c0c331eb7b7a03152309bbbd4e0fee157e8d86c.zip
Initial configuration
Diffstat (limited to 'configuration.yaml')
-rw-r--r--configuration.yaml89
1 files changed, 89 insertions, 0 deletions
diff --git a/configuration.yaml b/configuration.yaml
new file mode 100644
index 0000000..7310d24
--- /dev/null
+++ b/configuration.yaml
@@ -0,0 +1,89 @@
+
+# Loads default set of integrations. Do not remove.
+default_config:
+
+#logger:
+# default: debug
+
+lovelace:
+ mode: yaml
+ resources:
+ - url: "/local/community/lovelace-layout-card/layout-card.js"
+ type: "module"
+ - url: "/local/community/restriction-card/restriction-card.js?hacstag=215633404127"
+ type: "module"
+
+frontend:
+ themes: !include_dir_merge_named themes
+
+
+# Trusted networks should go first or allow_bypass_login will be ignored
+homeassistant:
+ auth_providers:
+ - type: trusted_networks
+ trusted_networks:
+ - 192.168.50.0/23
+ trusted_users:
+ 192.168.50.0/23: 31a296cc30a243089f121cef93b46cc0
+ 192.168.50.234: 31a296cc30a243089f121cef93b46cc0
+ 192.168.51.118: 31a296cc30a243089f121cef93b46cc0
+ allow_bypass_login: true
+# - type: legacy_api_password
+# api_password: !secret api_password
+ - type: homeassistant
+
+# Hass is bad with self-signed certificates. Therefore, we use letsencrypt at darksoft.org and do proxying there
+http:
+# ssl_certificate: /config/ssl/smartpi.suren.me.crt
+# ssl_key: /config/ssl/smartpi.suren.me.key
+ use_x_forwarded_for: true
+ trusted_proxies:
+ - 192.168.21.1
+ - 192.168.24.1
+
+# Text to speech
+tts:
+ - platform: google_translate
+
+telegram_bot:
+ - platform: polling
+ api_key: 5161737507:AAHAZZr_eh8ZOkhdg59XVIciGS2BkVBQU7M
+ allowed_chat_ids:
+ - -1001582338242
+
+notify:
+ - platform: telegram
+ name: SmartPI
+ chat_id: -1001582338242
+
+#python_script:
+
+ffmpeg:
+ ffmpeg_bin: /usr/bin/ffmpeg
+
+wake_on_lan:
+
+sensor:
+ - platform: time_date
+ display_options:
+ - 'time'
+ - 'date'
+ - 'date_time'
+ - 'date_time_utc'
+ - 'date_time_iso'
+ - 'time_date'
+ - 'time_utc'
+ - 'beat'
+
+
+automation ui: !include automations.yaml
+script ui: !include scripts.yaml
+scene ui: !include scenes.yaml
+
+
+group: !include custom/group.yaml
+template: !include custom/template.yaml
+input_number: !include custom/input_number.yaml
+binary_sensor: !include custom/binary_sensor.yaml
+script manual: !include_dir_merge_named custom/scripts/
+automation manual: !include_dir_merge_list custom/automation/