Problem with update

After an update my automations doesn’t work anymore… :frowning:
In the log i read that

homeassistant.bootstrap: Error during setup of component automation
 Traceback (most recent call last):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/", line 157, in _setup_component
    if not component.setup(hass, config):
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/automation/", line 105, in setup
    success = (_setup_automation(hass, config_block, name, config) or
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/automation/", line 116, in _setup_automation
    action = _process_if(hass, config, config_block, action)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/components/automation/", line 173, in _process_if
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/", line 34, in from_config
    return factory(config, config_validation)
  File "/usr/local/lib/python3.4/dist-packages/homeassistant/helpers/", line 150, in state_from_config
    config = cv.STATE_CONDITION_SCHEMA(config)
  File "/usr/local/lib/python3.4/dist-packages/", line 1394, in __call__
    raise e if self.msg is None else AllInvalid(self.msg)
  File "/usr/local/lib/python3.4/dist-packages/", line 1392, in __call__
    v = schema(v)
  File "/usr/local/lib/python3.4/dist-packages/", line 355, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.4/dist-packages/", line 794, in validate_callable
    return schema(data)
  File "/usr/local/lib/python3.4/dist-packages/", line 355, in __call__
    return self._compiled([], data)
  File "/usr/local/lib/python3.4/dist-packages/", line 655, in validate_dict
    return base_validate(path, iteritems(data), out)
  File "/usr/local/lib/python3.4/dist-packages/", line 489, in validate_mapping
    raise MultipleInvalid(errors)
voluptuous.MultipleInvalid: expected str for dictionary value @ data['state']

Everything was fine before …
All my automations use condition …

If you have some ideas…

You have an error in your configuration.yaml file (expected str for dictionary value @ data[‘state’]).

Hi fabaff !

I replace my new files by older which are operationnal.
My problem appears when i adapt the condition with ‘condition’ and not ‘platform’…

It seems that there is a condition which don’t accept this but i don’t find it :frowning:

I found my mistake


  - alias: "aurora 06h00"
      - platform: time
        after: "05:50:00"
      - platform: state
        entity_id: input_boolean.reveil
        state: 'on'
      - platform: state
        entity_id: input_boolean.lightreveil
        state: "on"
      - platform: state
        entity_id: input_select.choixreveil
        state: "06:00"
      service: light.turn_on
      entity_id: light.chambre
       transition: 600

So if i convert pletform in condition in the condition an error appears.

The root cause is
- platform: state
entity_id: input_boolean.lightreveil
state: “on”

the state “on” is false ‘on’ is true…

Sorry for that ^^