summaryrefslogtreecommitdiffstats
path: root/configuration.yaml
blob: 034b3f02756deeff41a5ca4fbb6d298a7a7572f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102

# 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

logbook:
  exclude:
    entities:
      - sensor.internet_time
      - sensor.time
      - sensor.date
    entity_globs:
      - sensor.weather_*
      - sensor.date_*
      - sensor.time_*
#    domains:
#      - sun

# 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/
shell_command: !include custom/shell.yaml