Kód: Vybrat vše
default_config:
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
Kód: Vybrat vše
default_config:
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
Kód: Vybrat vše
sensor:
template:
- binary.....
Jen pro vysvětlení pokud to máš takto
Kód: Vybrat vše
sensor:
template:
- binary....
Kód: Vybrat vše
template:
- binary_sensor:
- name:
atd
Kód: Vybrat vše
Logger: homeassistant.config
Source: config.py:867
First occurred: 22:48:59 (1 occurrences)
Last logged: 22:48:59
Invalid config for [template]: [template] is an invalid option for [template]. Check: template->template. (See /config/template.yaml, line 1).
Kód: Vybrat vše
template:
- binary_sensor:
- name: Somebody home
unique_id: somebody_home
state: >
{{ is_state('device_tracker.asus_phone', 'home') or
is_state('device_tracker.asus_phone_2', 'home') }}
Kód: Vybrat vše
template:
- binary_sensor:
- name: "Přítomnost telefonů"
unique_id: test_senzoru_telefonu
state: >
{{ is_state('device_tracker.xxxx_xxx_x', 'home') or
is_state('device_tracker.asus_phone_2', 'home') }}
Kód: Vybrat vše
sablony_senzory:
template:
- sensor:
Kód: Vybrat vše
homeassistant:
packages: !include_dir_merge_named packages