Scene Issues avoiding update (according to config checker)

Still on 99.3 and wanting to update. I always use the ‘configuration checker’ in hassio.

This reports an error:

ERROR:homeassistant.scripts.check_config:BURB
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/homeassistant/scripts/check_config.py", line 206, in check
    async_check_ha_config_file(hass)
  File "/usr/local/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
    return future.result()
  File "/usr/local/lib/python3.7/site-packages/homeassistant/helpers/check_config.py", line 140, in async_check_ha_config_file
    p_validated = component_platform_schema(p_config)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/scene/__init__.py", line 45, in _platform_validator
    return platform.PLATFORM_SCHEMA(config)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 272, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 635, in validate_sequence
    cval = validate(index_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 594, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 386, in validate_mapping
    cval = cvalue(key_path, value)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 205, in _run
    return self._exec(self._compiled, value, path)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/validators.py", line 285, in _exec
    v = func(path, v)
  File "/usr/local/lib/python3.7/site-packages/voluptuous/schema_builder.py", line 817, in validate_callable
    return schema(data)
  File "/usr/local/lib/python3.7/site-packages/homeassistant/components/homeassistant/scene.py", line 38, in _convert_states
    if isinstance(states[entity_id], dict):
KeyError: 'scene.gardenlight_on'
Fatal error while loading config: 'scene.gardenlight_on'
Failed config
  General Errors: 
    - 'scene.gardenlight_on'

Successful config (partial)

I know some stuff has changed in the scene section after 101 so I checked all of that. I did not have any strange stuff in the scenes anyway and took out any transitions I had.

It seems to stall on the gardenlight scene (posted below) but also there I cannot find anything wrong. I checked all the entities and the states (eg if they would support brightness etc)

Would welcome any suggestions on what to check/change here.

  - name: gardenlight_on
    entities:
      switch.fibaro_system_fgs221_double_relay_switch_2x15kw_switch_27_0:
        state: on
      switch.lamp_zijkant_huis_258:
        state: on
      switch.huis_buiten_114:
        state: on
      light.qubino_zmnhda2_flush_dimmer_level:
        state: on
        brightness: 52
      switch.achtertuin_220:
        state: on

What’s before and after that scene in the file?

Where is this scene mentioned elsewhere in the configuration?

You question made me think…and yes there where other references to that scene; I had a scene nested in a scene. This always worked but seems to be an issue in the new scene setup.

After removing that; no errors anymore.

1 Like