home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.4k stars 30.65k forks source link

Configuration check did not pass for .3 update #47659

Closed jantinus closed 3 years ago

jantinus commented 3 years ago

The problem

I'm running home assistant 2021.2.3. Before updating to 2021.3.0 - 2021.3.3 I've run the configuration check add-on. It tells me the configuration check did not pass (see attached logs for details). This is my first time posting something on Github, so please tell me if I forgot to include important information.

What is version of Home Assistant Core has the issue?

2021.3.0 - 2021.3.3

What was the last working version of Home Assistant Core?

2021.2.3

What type of installation are you running?

Home Assistant OS

Integration causing the issue

No response

Link to integration documentation on our website

No response

Example YAML snippet

# Put your YAML below this line

Anything in the logs that might be useful for us?

# Put your logs below this line
INFO:homeassistant.util.package:Attempting install of colorlog==4.7.2
Testing configuration at /tmp/config
INFO:homeassistant.util.package:Attempting install of hass-nabucasa==0.41.0
INFO:homeassistant.util.package:Attempting install of scapy==2.4.4
INFO:homeassistant.util.package:Attempting install of home-assistant-frontend==20210302.5
INFO:homeassistant.util.package:Attempting install of PyNaCl==1.3.0
INFO:homeassistant.util.package:Attempting install of emoji==1.2.0
INFO:homeassistant.util.package:Attempting install of distro==1.5.0
INFO:homeassistant.util.package:Attempting install of defusedxml==0.6.0
INFO:homeassistant.util.package:Attempting install of netdisco==2.8.2
INFO:homeassistant.util.package:Attempting install of async-upnp-client==0.14.13
INFO:homeassistant.util.package:Attempting install of aiohttp_cors==0.7.0
INFO:homeassistant.util.package:Attempting install of sqlalchemy==1.3.23
INFO:homeassistant.util.package:Attempting install of pillow==8.1.1
INFO:homeassistant.util.package:Attempting install of python-telegram-bot==13.1
INFO:homeassistant.util.package:Attempting install of PySocks==1.7.1
INFO:homeassistant.util.package:Attempting install of paho-mqtt==1.5.1
INFO:homeassistant.util.package:Attempting install of bt_proximity==0.2
INFO:homeassistant.util.package:Attempting install of pybluez==0.22
INFO:homeassistant.util.package:Attempting install of broadlink==0.16.0
INFO:homeassistant.util.package:Attempting install of pyhaversion==3.4.2
INFO:homeassistant.util.package:Attempting install of waqiasync==1.0.0
INFO:homeassistant.util.package:Attempting install of google-api-python-client==1.6.4
INFO:homeassistant.util.package:Attempting install of oauth2client==4.0.0
INFO:homeassistant.util.package:Attempting install of pydeconz==77
ERROR:homeassistant.helpers.check_config:Unexpected error validating config
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/homeassistant/helpers/check_config.py", line 147, in async_check_ha_config_file
    await config_validator.async_validate_config(  # type: ignore
  File "/usr/local/lib/python3.8/site-packages/homeassistant/components/automation/config.py", line 103, in async_validate_config
    await asyncio.gather(
  File "/usr/local/lib/python3.8/site-packages/homeassistant/components/automation/config.py", line 85, in _try_async_validate_config_item
    config = await async_validate_config_item(hass, config, full_config)
  File "/usr/local/lib/python3.8/site-packages/homeassistant/components/automation/config.py", line 63, in async_validate_config_item
    config[CONF_TRIGGER] = await async_validate_trigger_config(
  File "/usr/local/lib/python3.8/site-packages/homeassistant/helpers/trigger.py", line 49, in async_validate_trigger_config
    conf = await platform.async_validate_trigger_config(hass, conf)
  File "/usr/local/lib/python3.8/site-packages/homeassistant/components/device_automation/trigger.py", line 21, in async_validate_trigger_config
    return await getattr(platform, "async_validate_trigger_config")(hass, config)
  File "/usr/local/lib/python3.8/site-packages/homeassistant/components/deconz/device_trigger.py", line 412, in async_validate_trigger_config
    device_registry = await hass.helpers.device_registry.async_get_registry()
  File "/usr/local/lib/python3.8/site-packages/homeassistant/helpers/device_registry.py", line 636, in async_get_registry
    return async_get(hass)
  File "/usr/local/lib/python3.8/site-packages/homeassistant/helpers/device_registry.py", line 620, in async_get
    return cast(DeviceRegistry, hass.data[DATA_REGISTRY])
KeyError: 'device_registry'
INFO:homeassistant.util.package:Attempting install of homeassistant-pyozw==0.1.10
INFO:homeassistant.util.package:Attempting install of python-openzwave-mqtt[mqtt-client]==1.4.0
INFO:homeassistant.util.package:Attempting install of mutagen==1.45.1
INFO:homeassistant.util.package:Attempting install of gTTS==2.2.2
Failed config
  automation: 
    - Unexpected error calling config validator: 'device_registry'
    - [OrderedDict([('id', '1570043632431'), ('alias', '01 Algemeen - Na 23 uur de verwarming uit'), ('trigger', [OrderedDict([('at', '23:00:00'), ('platform', 'time')])]), ('condition', []), ('action', [OrderedDict([('data', OrderedDict([('entity_id', 'climate.woonkamer_thermostataatknop_mode'), ('hvac_mode', 'off')])), ('entity_id', 'climate.woonkamer_thermostataatknop_mode'), ('service', 'climate.set_hvac_mode')]), OrderedDict([('data', OrderedDict([('entity_id', 'climate.slaapkamer_thermostaatknop_mode'), ('hvac_mode', 'off')])), ('entity_id', 'climate.slaapkamer_thermostaatknop_mode'), ('service', 'climate.set_hvac_mode')]), OrderedDict([('data', OrderedDict([('entity_id', 'climate.keuken_thermostaatknop_mode'), ('hvac_mode', 'off')])), ('entity_id', 'climate.keuken_thermostaatknop_mode'), ('service', 'climate.set_hvac_mode')]), OrderedDict([('data', OrderedDict([('entity_id', 'climate.logeerkamer_thermostaatknop_mode'), ('hvac_mode', 'off')])), ('entity_id', 'climate.logeerkamer_thermostaatknop_mode'), ('service', 'climate.set_hvac_mode')]), OrderedDict([('data', OrderedDict([('entity_id', 'climate.studeerkamer_thermostaatknop_mode'), ('hvac_mode', 'off')])), ('entity_id', 'climate.studeerkamer_thermostaatknop_mode'), ('service', 'climate.set_hvac_mode')])]), ('mode', 'single')]), OrderedDict([('id', '1571654477498'), ('alias', 'Studeerkamer - waarschuwing batterij'), ('description', ''), ('trigger', [OrderedDict([('below', 10), ('device_id', '226561b6156d4afe933b850670df1376'), ('domain', 'sensor'), ('entity_id', 'sensor.studeerkamer_thermostaatknop_battery_level'), ('platform', 'device'), ('type', 'battery_level')])]), ('condition', []), ('action', [OrderedDict([('alias', ''), ('data', OrderedDict([('message', 'Home Assistant: Vervang de batterijen van de thermostaatknop in de studeerkamer.')])), ('service', 'notify.telegram')])]), ('mode', 'single')]), OrderedDict([('id', '1572217965234'), ('alias', '01 Algemeen - ilona kruik'), ('description', ''), ('trigger', [OrderedDict([('at', '22:30'), ('platform', 'time')])]), ('condition', [OrderedDict([('condition', 'and'), ('conditions', [OrderedDict([('condition', 'or'), ('conditions', [OrderedDict([('condition', 'state'), ('entity_id', 'person.peter'), ('state', 'Thuis')]), OrderedDict([('condition', 'state'), ('entity_id', 'person.peter'), ('state', 'home')])])]), OrderedDict([('below', '11'), ('condition', 'numeric_state'), ('entity_id', 'sensor.slaapkamer_thermostaatknop_temperature')])])])]), ('action', [OrderedDict([('data', OrderedDict([('message', 'Het is weer koud! Grote kans dat je vrouw een kruik wil. Dus ik weet niet, misschien moet je even het water opzetten?!')])), ('service', 'telegram_bot.send_message')])]), ('mode', 'single')]), OrderedDict([('id', '1572249081678'), ('alias', '01 Algemeen - update hassio --> melding'), ('description', ''), ('trigger', [OrderedDict([('entity_id', 'sensor.hass_available'), ('platform', 'state')])]), ('condition', []), ('action', [OrderedDict([('data', OrderedDict([('message', 'Nieuwe versie van HASSIO beschikbaar.')])), ('service', 'telegram_bot.send_message')])]), ('mode', 'single')]), OrderedDict([('id', '1579794243385'), ('alias', 'Woonkamer - Lichten aan onder 500 Lux'), ('description', ''), ('trigger', [OrderedDict([('below', '500'), ('entity_id', 'sensor.lightlevel_18'), ('platform', 'numeric_state')])]), ('condition', [OrderedDict([('condition', 'or'), ('conditions', [OrderedDict([('condition', 'state'), ('entity_id', 'person.peter'), ('state', 'home')]), OrderedDict([('condition', 'state'), ('entity_id', 'person.ilona'), ('state', 'home')]), OrderedDict([('condition', 'state'), ('entity_id', 'person.mitchell'), ('state', 'home')])])])]), ('action', [OrderedDict([('entity_id', ['light.woonkamer', 'light.studeerkamer']), ('service', 'light.turn_on')])]), ('mode', 'single')]), OrderedDict([('id', '1579820387850'), ('alias', 'Slaapkamer - deken ilona uit na 3 uur'), ('description', ''), ('trigger', [OrderedDict([('for', '03:00:00'), ('from', 'off'), ('platform', 'state'), ('to', 'on'), ('entity_id', 'switch.dekenpeter_relay')])]), ('condition', []), ('action', [OrderedDict([('service', 'switch.turn_off'), ('entity_id', 'switch.dekenpeter_relay')])]), ('mode', 'single')]), OrderedDict([('id', '1579820491038'), ('alias', 'Slaapkamer - deken Peter uit na 1 uur'), ('description', ''), ('trigger', [OrderedDict([('for', '01:00:00'), ('from', 'off'), ('platform', 'state'), ('to', 'on'), ('entity_id', 'switch.shellyplug_s_9d96a2_relay_0')])]), ('condition', []), ('action', [OrderedDict([('service', 'switch.turn_off'), ('entity_id', 'switch.shellyplug_s_9d96a2_relay_0')])]), ('mode', 'single')]), OrderedDict([('id', '1579900824304'), ('alias', '01 Algemeen - Backup'), ('description', 'dagelijkse backup naar synology via SSH met behulp van de remote backup addon'), ('trigger', [OrderedDict([('at', '01:00:00'), ('platform', 'time')])]), ('condition', []), ('action', [OrderedDict([('data', OrderedDict([('addon', '36883ed7_remote_backup')])), ('service', 'hassio.addon_start')])]), ('mode', 'single')]), OrderedDict([('id', '1581981344304'), ('alias', 'Slaapkamer - Deken ilona aan om 22:30'), ('description', ''), ('trigger', [OrderedDict([('at', '22:30:00'), ('platform', 'time')])]), ('condition', [OrderedDict([('condition', 'state'), ('entity_id', 'person.ilona'), ('state', 'home')]), OrderedDict([('below', '12'), ('condition', 'numeric_state'), ('entity_id', 'sensor.slaapkamer_thermostaatknop_temperature')])]), ('action', [OrderedDict([('entity_id', 'switch.deken_ilona_relay'), ('service', 'switch.turn_on')])]), ('mode', 'single')]), OrderedDict([('id', '1582846543072'), ('alias', 'Slaapkamer - deken aan voor wekker'), ('description', ''), ('trigger', [OrderedDict([('minutes', '/1'), ('platform', 'time_pattern'), ('seconds', '0')])]), ('condition', [OrderedDict([('condition', 'template'), ('value_template', '{{ (((as_timestamp(now()) | int) - 20*60) | timestamp_custom("%Y-%m-%d %H:%M:00")) == states.sensor.android_alarm.state }}')])]), ('action', [OrderedDict([('device_id', '3fb0696ce3a74bee913a19067eba7ccc'), ('domain', 'switch'), ('entity_id', 'switch.dekenpeter_relay'), ('type', 'turn_on')])]), ('mode', 'single')]), OrderedDict([('id', '1585824243771'), ('alias', 'Badkamer - beweging gedetecteerd'), ('description', ''), ('trigger', [OrderedDict([('device_id', '3754bd8720424711b077f142194ba241'), ('domain', 'binary_sensor'), ('entity_id', 'binary_sensor.presence_12'), ('platform', 'device'), ('type', 'motion')])]), ('condition', []), ('action', [OrderedDict([('brightness_pct', 100), ('device_id', 'f83d3214fcea4f15bd0612d070513884'), ('domain', 'light'), ('entity_id', 'light.badkamer_2'), ('type', 'turn_on')])]), ('mode', 'single')]), OrderedDict([('id', '1585824290493'), ('alias', 'Badkamer - geen beweging'), ('description', ''), ('trigger', [OrderedDict([('device_id', '3754bd8720424711b077f142194ba241'), ('domain', 'binary_sensor'), ('entity_id', 'binary_sensor.presence_12'), ('platform', 'device'), ('type', 'no_motion')])]), ('condition', []), ('action', [OrderedDict([('device_id', '758b04b1ba1140c8ab7f205e55acee03'), ('domain', 'light'), ('entity_id', 'light.badkamer'), ('type', 'turn_off')])]), ('mode', 'single')]), OrderedDict([('id', '1587218806528'), ('alias', 'Woonkamer - lichten uit boven 500 lux'), ('description', ''), ('trigger', [OrderedDict([('above', 500), ('device_id', '8055d842825643d4b83217f4f9ee285e'), ('domain', 'sensor'), ('entity_id', 'sensor.lightlevel_18'), ('platform', 'device'), ('type', 'illuminance')])]), ('condition', []), ('action', [OrderedDict([('data', OrderedDict()), ('entity_id', ['light.woonkamer', 'light.studeerkamer']), ('service', 'light.turn_off')])]), ('mode', 'single')]), OrderedDict([('id', '1588020487640'), ('alias', 'Keuken - geen beweging'), ('description', ''), ('trigger', [OrderedDict([('entity_id', 'binary_sensor.presence_22'), ('for', '00:05'), ('from', 'on'), ('platform', 'state'), ('to', 'off')])]), ('condition', []), ('action', [OrderedDict([('data', OrderedDict()), ('entity_id', 'light.keuken'), ('service', 'light.turn_off')])]), ('mode', 'single')]), OrderedDict([('id', '1591373129861'), ('alias', 'Woonkamer - Toggle alle A/V apparatuur'), ('description', ''), ('trigger', [OrderedDict([('event_data', OrderedDict([('event', 1002), ('id', 'a_v_schakelaar')])), ('event_type', 'deconz_event'), ('platform', 'event')])]), ('condition', []), ('action', [OrderedDict([('data', OrderedDict()), ('entity_id', 'group.av'), ('service', 'homeassistant.toggle')])]), ('mode', 'single')]), OrderedDict([('id', '1593120924268'), ('alias', '01 Algemeen - schoonmaakster --> alarm uit'), ('description', ''), ('trigger', [OrderedDict([('entity_id', 'calendar.schoonmaakster'), ('platform', 'state'), ('to', 'on')]), OrderedDict([('entity_id', 'calendar.schoonmaakster_i'), ('platform', 'state'), ('to', 'on')])]), ('condition', []), ('action', [OrderedDict([('data', OrderedDict()), ('entity_id', 'input_boolean.alarm'), ('service', 'input_boolean.turn_off')])]), ('mode', 'single')]), OrderedDict([('id', '1600785711545'), ('alias', 'Slaapkamer - input select next'), ('description', ''), ('trigger', [OrderedDict([('device_id', '203120cc4de5483bb68df6f100720ca0'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'turn_off')]), OrderedDict([('device_id', '5366fada158111eb92a70fea2e6df9b9'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'right')]), OrderedDict([('device_id', 'bb5062f512ca4b84a01aef0efbf640ba'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'right')])]), ('condition', []), ('action', [OrderedDict([('service', 'input_select.select_next'), ('data', OrderedDict()), ('entity_id', 'input_select.scenes_slaapkamer')])]), ('mode', 'single')]), OrderedDict([('id', '1600787493401'), ('alias', 'Slaapkamer - scene select standaard'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'input_select.scenes_slaapkamer'), ('to', 'scene.slaapkamer_standaard')])]), ('condition', []), ('action', [OrderedDict([('scene', 'scene.slaapkamer_standaard')])]), ('mode', 'single')]), OrderedDict([('id', '1600787620812'), ('alias', 'Slaapkamer - Scene select avond'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'input_select.scenes_slaapkamer'), ('to', 'scene.avond')])]), ('condition', []), ('action', [OrderedDict([('scene', 'scene.avond')])]), ('mode', 'single')]), OrderedDict([('id', '1600787791186'), ('alias', 'Slaapkamer - scene select focus'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'input_select.scenes_slaapkamer'), ('to', 'scene.focus')])]), ('condition', []), ('action', [OrderedDict([('scene', 'scene.focus')])]), ('mode', 'single')]), OrderedDict([('id', '1600787918927'), ('alias', 'Slaapkamer - Scene select romantisch'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'input_select.scenes_slaapkamer'), ('to', 'scene.romantisch')])]), ('condition', []), ('action', [OrderedDict([('scene', 'scene.romantisch')])]), ('mode', 'single')]), OrderedDict([('id', '1600787977996'), ('alias', 'Slaapkamer - Scene select sfeervol'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'input_select.scenes_slaapkamer'), ('to', 'scene.sfeervol')])]), ('condition', []), ('action', [OrderedDict([('scene', 'scene.sfeervol')])]), ('mode', 'single')]), OrderedDict([('id', '1601154693337'), ('alias', 'Slaapkamer - LED strip RGB niet aan bij slaapkamer groep'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'light.slaapkamer_2'), ('to', 'on')])]), ('condition', []), ('action', [OrderedDict([('service', 'light.turn_off'), ('data', OrderedDict()), ('entity_id', 'light.led_strip_rgb')])]), ('mode', 'single')]), OrderedDict([('id', '1601157555017'), ('alias', 'Slaapkamer - One button to rule them all'), ('description', ''), ('trigger', [OrderedDict([('device_id', 'bb5062f512ca4b84a01aef0efbf640ba'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_long_release'), ('subtype', 'dim_up')]), OrderedDict([('device_id', '5366fada158111eb92a70fea2e6df9b9'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_long_release'), ('subtype', 'dim_up')])]), ('condition', []), ('action', [OrderedDict([('service', 'light.turn_off'), ('data', OrderedDict()), ('entity_id', 'light.alle_verlichting')]), OrderedDict([('service', 'climate.turn_off'), ('data', OrderedDict()), ('entity_id', ['climate.keuken_thermostaatknop_mode', 'climate.logeerkamer_thermostaatknop_mode', 'climate.slaapkamer_thermostaatknop_mode', 'climate.studeerkamer_thermostaatknop_mode', 'climate.woonkamer_thermostataatknop_mode'])]), OrderedDict([('service', 'homeassistant.turn_off'), ('data', OrderedDict()), ('entity_id', 'group.av')])]), ('mode', 'single')]), OrderedDict([('id', '1601680834999'), ('alias', 'Slaapkamer - Scene select ilonas scene'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'input_select.scenes_slaapkamer'), ('to', 'scene.slaapkamer_ilona_s_scene')])]), ('condition', []), ('action', [OrderedDict([('scene', 'scene.slaapkamer_ilona_s_scene')])]), ('mode', 'single')]), OrderedDict([('id', '1601894710932'), ('alias', 'Woonkamer - verwarming via temp sensor uit'), ('description', ''), ('trigger', [OrderedDict([('platform', 'numeric_state'), ('entity_id', 'sensor.temperature_38'), ('above', '19.9'), ('for', '00:02:00')])]), ('condition', []), ('action', [OrderedDict([('device_id', '43ed2ead455a49059d7f2d25d148125d'), ('domain', 'climate'), ('entity_id', 'climate.woonkamer_thermostataatknop_mode'), ('type', 'set_hvac_mode'), ('hvac_mode', 'off')])]), ('mode', 'single')]), OrderedDict([('id', '1601894903599'), ('alias', 'Woonkamer - verwarming via temp sensor aan'), ('description', ''), ('trigger', [OrderedDict([('platform', 'numeric_state'), ('entity_id', 'sensor.temperature_38'), ('below', '19.9'), ('for', '10')])]), ('condition', []), ('action', [OrderedDict([('device_id', '43ed2ead455a49059d7f2d25d148125d'), ('domain', 'climate'), ('entity_id', 'climate.woonkamer_thermostataatknop_mode'), ('type', 'set_hvac_mode'), ('hvac_mode', 'heat')])]), ('mode', 'single')]), OrderedDict([('id', '1602859843575'), ('alias', 'Woonkamer - a/v knop - a/v receiver toggle'), ('description', ''), ('trigger', [OrderedDict([('device_id', '90bbca84c5d94d7fb10303ae5e37d51f'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'left')])]), ('condition', []), ('action', [OrderedDict([('service', 'switch.toggle'), ('data', OrderedDict()), ('entity_id', 'switch.on_off_plug_in_unit_18')])]), ('mode', 'single')]), OrderedDict([('id', '1602860012985'), ('alias', 'Woonkamer - a/v knop - TV toggle'), ('description', ''), ('trigger', [OrderedDict([('device_id', '90bbca84c5d94d7fb10303ae5e37d51f'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'dim_up')])]), ('condition', []), ('action', [OrderedDict([('service', 'switch.toggle'), ('data', OrderedDict()), ('entity_id', 'switch.on_off_plug_in_unit_5')]), OrderedDict([('service', 'switch.toggle'), ('data', OrderedDict()), ('entity_id', 'switch.on_off_plug_in_unit_18')])]), ('mode', 'single')]), OrderedDict([('id', '1602860229954'), ('alias', 'Woonkamer - a/v knop - Ziggo toggle'), ('description', ''), ('trigger', [OrderedDict([('device_id', '90bbca84c5d94d7fb10303ae5e37d51f'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'right')])]), ('condition', []), ('action', [OrderedDict([('service', 'switch.toggle'), ('data', OrderedDict()), ('entity_id', 'switch.on_off_plug_in_unit_4')])]), ('mode', 'single')]), OrderedDict([('id', '1602860438857'), ('alias', 'Woonkamer - a/v knop - verwarming aan'), ('description', ''), ('trigger', [OrderedDict([('device_id', '90bbca84c5d94d7fb10303ae5e37d51f'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'dim_down')])]), ('condition', []), ('action', [OrderedDict([('service', "{%- if (states.climate.woonkamer_thermostataatknop_mode.state == 'off') -%}\n  climate.turn_on\n{%- else -%}\n  climate.turn_off\n{%- endif -%}\n"), ('data', OrderedDict([('entity_id', 'climate.woonkamer_thermostataatknop_mode')]))])]), ('mode', 'single')]), OrderedDict([('id', '1603276710669'), ('alias', 'Studeerkamer - test tag'), ('description', ''), ('trigger', [OrderedDict([('platform', 'tag'), ('tag_id', 'a42e008d-5d78-455d-8398-cf0aee2d445a')])]), ('condition', []), ('action', [OrderedDict([('service', 'light.toggle'), ('data', OrderedDict()), ('entity_id', 'light.studeerkamer')])]), ('mode', 'single')]), OrderedDict([('id', '1603494081075'), ('alias', 'Slaapkamer - knop deken Ilona'), ('description', ''), ('trigger', [OrderedDict([('device_id', '5366fada158111eb92a70fea2e6df9b9'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'dim_down')])]), ('condition', []), ('action', [OrderedDict([('service', 'switch.toggle'), ('data', OrderedDict()), ('entity_id', 'switch.dekenpeter_relay')])]), ('mode', 'single')]), OrderedDict([('id', '1603494702488'), ('alias', 'Slaapkamer - input select previous'), ('description', ''), ('trigger', [OrderedDict([('device_id', '5366fada158111eb92a70fea2e6df9b9'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'left')]), OrderedDict([('device_id', 'bb5062f512ca4b84a01aef0efbf640ba'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'left')])]), ('condition', []), ('action', [OrderedDict([('service', 'input_select.select_previous'), ('data', OrderedDict()), ('entity_id', 'input_select.scenes_slaapkamer')])]), ('mode', 'single')]), OrderedDict([('id', '1603495055385'), ('alias', 'Slaapkamer - toggle lichten Ilona'), ('description', ''), ('trigger', [OrderedDict([('device_id', '5366fada158111eb92a70fea2e6df9b9'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'turn_on')])]), ('condition', []), ('action', [OrderedDict([('service', 'light.toggle'), ('data', OrderedDict()), ('entity_id', 'light.slaapkamer_2')])]), ('mode', 'single')]), OrderedDict([('id', '1603820269319'), ('alias', 'Woonkamer - lamp tv kast uit wanneer tv aan'), ('description', ''), ('trigger', [OrderedDict([('platform', 'device'), ('type', 'turned_on'), ('device_id', '70d98028afcd4935b68468545fb655d0'), ('entity_id', 'switch.on_off_plug_in_unit_5'), ('domain', 'switch')])]), ('condition', []), ('action', [OrderedDict([('service', 'light.turn_off'), ('data', OrderedDict()), ('entity_id', 'light.lamptvkast')])]), ('mode', 'single')]), OrderedDict([('id', '1604330249688'), ('alias', 'Woonkamer - UV licht aan bij zonsondergang'), ('description', ''), ('trigger', [OrderedDict([('platform', 'sun'), ('event', 'sunset')]), OrderedDict([('platform', 'sun'), ('event', 'sunrise'), ('offset', '-01:30:00')])]), ('condition', []), ('action', [OrderedDict([('service', 'switch.turn_on'), ('data', OrderedDict()), ('entity_id', 'switch.shellyplug_s_9d96a2_relay_0')])]), ('mode', 'single')]), OrderedDict([('id', '1604330380709'), ('alias', 'Woonkamer - UV licht uit na anderhalf uur'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'switch.shellyplug_s_9d96a2_relay_0'), ('to', 'on'), ('for', '01:30:00')])]), ('condition', []), ('action', [OrderedDict([('service', 'switch.turn_off'), ('data', OrderedDict()), ('entity_id', 'switch.shellyplug_s_9d96a2_relay_0')])]), ('mode', 'single')]), OrderedDict([('id', '1604508538049'), ('alias', 'gang bewegingssensor on'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'binary_sensor.presence_9'), ('to', 'on')]), OrderedDict([('platform', 'state'), ('entity_id', 'binary_sensor.presence_65'), ('to', 'on')])]), ('condition', []), ('action', [OrderedDict([('service', 'input_boolean.turn_on'), ('data', OrderedDict()), ('entity_id', 'input_boolean.gang_1_minuut')]), OrderedDict([('service', 'input_boolean.turn_on'), ('data', OrderedDict()), ('entity_id', 'input_boolean.gang_6_minuut')])]), ('mode', 'single')]), OrderedDict([('id', '1604508594328'), ('alias', 'gang bewegingssensor + 1 minuut off'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'binary_sensor.presence_9'), ('to', 'off'), ('for', '00:01:00')]), OrderedDict([('platform', 'state'), ('entity_id', 'binary_sensor.presence_65'), ('to', 'off'), ('for', '00:01:00')])]), ('condition', []), ('action', [OrderedDict([('service', 'input_boolean.turn_off'), ('data', OrderedDict()), ('entity_id', 'input_boolean.gang_1_minuut')])]), ('mode', 'single')]), OrderedDict([('id', '1605518913521'), ('alias', 'gang bewegingssensor + 6 minuut off'), ('description', ''), ('trigger', [OrderedDict([('platform', 'state'), ('entity_id', 'binary_sensor.presence_9'), ('to', 'off'), ('for', '00:06:00')]), OrderedDict([('platform', 'state'), ('entity_id', 'binary_sensor.presence_65'), ('to', 'off'), ('for', '00:06:00')])]), ('condition', []), ('action', [OrderedDict([('service', 'input_boolean.turn_off'), ('data', OrderedDict()), ('entity_id', 'input_boolean.gang_6_minuut')])]), ('mode', 'single')]), OrderedDict([('id', '1608076088968'), ('alias', 'Keuken - rolgordijnen omhoog'), ('description', ''), ('trigger', [OrderedDict([('platform', 'sun'), ('event', 'sunrise'), ('offset', '-00:30:00')])]), ('condition', []), ('action', [OrderedDict([('service', 'cover.set_cover_position'), ('data', OrderedDict([('position', 100)])), ('entity_id', 'cover.window_covering_device_22')]), OrderedDict([('service', 'cover.set_cover_position'), ('data', OrderedDict([('position', 100)])), ('entity_id', 'cover.window_covering_device_21')])]), ('mode', 'single')]), OrderedDict([('id', '1608076320878'), ('alias', 'keuken - rolgordijnen naar beneden'), ('description', ''), ('trigger', [OrderedDict([('platform', 'sun'), ('event', 'sunset'), ('offset', '00:10:00')])]), ('condition', []), ('action', [OrderedDict([('service', 'cover.set_cover_position'), ('data', OrderedDict([('position', 36)])), ('entity_id', 'cover.window_covering_device_21')]), OrderedDict([('service', 'cover.set_cover_position'), ('data', OrderedDict([('position', 36)])), ('entity_id', 'cover.window_covering_device_22')])]), ('mode', 'single')]), OrderedDict([('id', '1609544234818'), ('alias', 'Slaapkamer - knop deken Peter'), ('description', ''), ('trigger', [OrderedDict([('device_id', 'bb5062f512ca4b84a01aef0efbf640ba'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'dim_down')])]), ('condition', []), ('action', [OrderedDict([('type', 'toggle'), ('device_id', '575ebaba074b11ebaf4967d570e4223e'), ('entity_id', 'switch.shellyplug_s_9d96a2_relay_0'), ('domain', 'switch')])]), ('mode', 'single')]), OrderedDict([('id', '1611185566370'), ('alias', 'Studeerkamer - verwarming aan om 8 uur'), ('description', ''), ('trigger', [OrderedDict([('platform', 'time'), ('at', '08:00')])]), ('condition', []), ('action', [OrderedDict([('device_id', '226561b6156d4afe933b850670df1376'), ('domain', 'climate'), ('entity_id', 'climate.studeerkamer_thermostaatknop_mode'), ('type', 'set_hvac_mode'), ('hvac_mode', 'heat')])]), ('mode', 'single')]), OrderedDict([('id', '1611586298055'), ('alias', 'Slaapkamer - In het donker naar het toilet'), ('description', ''), ('trigger', [OrderedDict([('device_id', '5366fada158111eb92a70fea2e6df9b9'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'dim_up')]), OrderedDict([('device_id', 'bb5062f512ca4b84a01aef0efbf640ba'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'dim_up')])]), ('condition', []), ('action', [OrderedDict([('service', 'input_boolean.turn_on'), ('data', OrderedDict()), ('entity_id', 'input_boolean.toiletverlichting_manuele_bediening')]), OrderedDict([('service', 'input_boolean.turn_on'), ('data', OrderedDict()), ('entity_id', 'input_boolean.gangverlichting_manuele_bediening')]), OrderedDict([('service', 'light.turn_off'), ('data', OrderedDict()), ('entity_id', 'light.toilet')]), OrderedDict([('service', 'light.turn_off'), ('data', OrderedDict()), ('entity_id', 'light.gang')]), OrderedDict([('delay', '00:10:00')]), OrderedDict([('service', 'input_boolean.turn_off'), ('data', OrderedDict()), ('entity_id', 'input_boolean.toiletverlichting_manuele_bediening')]), OrderedDict([('service', 'input_boolean.turn_off'), ('data', OrderedDict()), ('entity_id', 'input_boolean.gangverlichting_manuele_bediening')])]), ('mode', 'single')]), OrderedDict([('id', '1611594107936'), ('alias', 'Keuken - knopje rolgordijn links omhoog'), ('description', ''), ('trigger', [OrderedDict([('device_id', '62cd6d65e1df76cf696ae2b73d97046a'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'open')])]), ('condition', []), ('action', [OrderedDict([('device_id', 'cf56c667eaa2f30a945653a01a2154c0'), ('domain', 'cover'), ('entity_id', 'cover.window_covering_device_22'), ('type', 'set_position'), ('position', 100)])]), ('mode', 'single')]), OrderedDict([('id', '1611594172331'), ('alias', 'Keuken - knopje rolgordijn rechts omhoog'), ('description', ''), ('trigger', [OrderedDict([('device_id', '54b643bfe346a6665a1482fda8fb369f'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'open')])]), ('condition', []), ('action', [OrderedDict([('device_id', 'b0d787b8497e0353631f106a636b0783'), ('domain', 'cover'), ('entity_id', 'cover.window_covering_device_21'), ('type', 'set_position'), ('position', 100)])]), ('mode', 'single')]), OrderedDict([('id', '1611594223545'), ('alias', 'Keuken - knopje rolgordijn rechts omlaag'), ('description', ''), ('trigger', [OrderedDict([('device_id', '54b643bfe346a6665a1482fda8fb369f'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'close')])]), ('condition', []), ('action', [OrderedDict([('device_id', 'b0d787b8497e0353631f106a636b0783'), ('domain', 'cover'), ('entity_id', 'cover.window_covering_device_21'), ('type', 'set_position'), ('position', 36)])]), ('mode', 'single')]), OrderedDict([('id', '1611594256086'), ('alias', 'Keuken - knopje rolgordijn links omlaag'), ('description', ''), ('trigger', [OrderedDict([('device_id', '62cd6d65e1df76cf696ae2b73d97046a'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'close')])]), ('condition', []), ('action', [OrderedDict([('device_id', 'cf56c667eaa2f30a945653a01a2154c0'), ('domain', 'cover'), ('entity_id', 'cover.window_covering_device_22'), ('type', 'set_position'), ('position', 36)])]), ('mode', 'single')]), OrderedDict([('id', '1611594256348'), ('alias', 'Keuken - knopje rolgordijn links omlaag'), ('description', ''), ('trigger', [OrderedDict([('device_id', '62cd6d65e1df76cf696ae2b73d97046a'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'close')])]), ('condition', []), ('action', [OrderedDict([('device_id', 'cf56c667eaa2f30a945653a01a2154c0'), ('domain', 'cover'), ('entity_id', 'cover.window_covering_device_22'), ('type', 'set_position'), ('position', 36)])]), ('mode', 'single')]), OrderedDict([('id', '1611604810123'), ('alias', 'Keuken - knopje licht aan'), ('description', ''), ('trigger', [OrderedDict([('device_id', 'b54b6544e23c49bc85ec1ac49a4dbc5a'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'turn_on')])]), ('condition', []), ('action', [OrderedDict([('type', 'turn_on'), ('device_id', '3a4b23d46b514fc5a7c75abd7319af44'), ('entity_id', 'light.keuken'), ('domain', 'light')])]), ('mode', 'single')]), OrderedDict([('id', '1611604856574'), ('alias', 'Keuken - knopje licht uit'), ('description', ''), ('trigger', [OrderedDict([('device_id', 'b54b6544e23c49bc85ec1ac49a4dbc5a'), ('domain', 'deconz'), ('platform', 'device'), ('type', 'remote_button_short_press'), ('subtype', 'turn_off')])]), ('condition', []), ('action', [OrderedDict([('type', 'turn_off'), ('device_id', '3a4b23d46b514fc5a7c75abd7319af44'), ('entity_id', 'light.keuken'), ('domain', 'light')])]), ('mode', 'single')]), OrderedDict([('id', '1611606882215'), ('alias', 'Nieuwe automatisering'), ('description', ''), ('trigger', [OrderedDict([('platform', 'device'), ('type', 'turned_off'), ('device_id', '142ac5b22ddd4a7fba50a298b3c4c269'), ('entity_id', 'switch.doorbell_chime'), ('domain', 'switch')])]), ('condition', []), ('action', [OrderedDict([('service', 'light.turn_off'), ('data', OrderedDict()), ('entity_id', 'light.extended_color_light_19')]), OrderedDict([('delay', '00:00:01.9')]), OrderedDict([('service', 'light.turn_off'), ('data', OrderedDict()), ('entity_id', 'light.led_strip_wit')])]), ('mode', 'single')]), OrderedDict([('id', '1614896252146'), ('alias', '01 Algemeen - Er wordt aangebeld'), ('trigger', [OrderedDict([('entity_id', 'switch.doorbell_chime'), ('for', '0'), ('from', 'off'), ('platform', 'state'), ('to', 'on')])]), ('condition', []), ('action', [OrderedDict([('data', OrderedDict([('message', 'Home Assistant: Er wordt aangebeld!')])), ('service', 'telegram_bot.send_message')])]), ('mode', 'single')])]


The logs don't have the "" characters before I copy them to the text field. I don't know how they got in there.

marcokitzmann commented 3 years ago

Quite the same here, following.

lokanx commented 3 years ago

I also have a similar problem, gets the following output when running docker command

_docker run -it --rm -v /srv/docker/homeautomation/ha-home:/config:ro -v /etc/localtime:/etc/localtime:ro homeassistant/home-assistant hass -c /config --script checkconfig

` time_zone: xxxxxxxxxxxxxxxxxx unit_system: xxxxxxxx

automation:

Successful config (partial) homeassistant: automation:

`

jantinus commented 3 years ago

The problem persists with the 3.4 update.

jantinus commented 3 years ago

New update on my part. I've found the culprit in the configuration.yaml file:


  alias: Slaapkamer - input select next
  description: ''
  trigger:
  - device_id: 203120cc4de5483bb68df6f100720ca0
    domain: deconz
    platform: device
    type: remote_button_short_press
    subtype: turn_off
  - device_id: 5366fada158111eb92a70fea2e6df9b9
    domain: deconz
    platform: device
    type: remote_button_short_press
    subtype: right
  - device_id: bb5062f512ca4b84a01aef0efbf640ba
    domain: deconz
    platform: device
    type: remote_button_short_press
    subtype: right
  condition: []
  action:
  - service: input_select.select_next
    data: {}
    entity_id: input_select.scenes_slaapkamer
  mode: single```

When I add this to my config file I will get the error message. I still don't know what's wrong in this automation. Maybe someone can help me?
jantinus commented 3 years ago

The error only seemed to appear in similar automations like the one above with platform: deconz in it. I couldn't find anything wrong with the configuration, so I installed the new update anyway, and no error was seen in the logs. Apparently the configuration-check add-on did not function properly.