Doposud jsem odstraňoval zakázané a nepoužívané, ale teď jsem došel k potřebným a funkčním, přesto jsou označeny chybou.
Kód: Vybrat vše
Detaily logování (CHYBA)
Logger: homeassistant.config
Source: config.py:929
First occurred: 13:44:59 (1 occurrences)
Last logged: 13:44:59
Invalid config for [script]: expected a dictionary. Got OrderedDict([('default_config', {}), ('automation', [OrderedDict([('id', '1641408259807'), ('alias', 'Přepínání tarifů - NT-VT-old'), ('description', ''), ('trigger', [OrderedDict([('type', 'turned_on'), ('platform', 'device'), ('device_id', '305e79c4ff1d1a1d7fb4f8550a1a04bb'), ('entity_id', 'binary_sensor.switch1'), ('domain', 'binary_sensor'), ('id', 'bshdoon')]), OrderedDict([('type', 'turned_off'), ('platform', 'device'), ('device_id', '305e79c4ff1d1a1d7fb4f8550a1a04bb'), ('entity_id', 'b.... (See /config/configuration.yaml, line 2).
config mám takto (mám to blbě v něm?):
Kód: Vybrat vše
default_config:
automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
group: !include groups.yaml
http:
homeassistant:
packages: !include_dir_named all_package
customize: !include customize.yaml
tts:
- platform: google_translate
language: "cs"
frontend:
themes: !include_dir_merge_named themes
spotcast:
sp_dc: !secret sp_dc
sp_key: !secret sp_key
country: cz #optional, added in 3.6.24
home_connect_alt:
client_id: !secret hc_id
client_secret: !secret hc_secret
#bluetooth:
device_tracker:
- platform: