Certain automation not triggering since 0.45

So why does this suddenly doesn’t work anymore, since 0.45?

- alias: 'Wasmachine start'
  trigger:
    - platform: numeric_state
      entity_id: sensor.fibaro_system_fgwpef_wall_plug_power_4_4
      value_template: '{{ state.attributes.power_consumption }}'
      above: '150'
  condition:
    condition: or
    conditions:
      - condition: state
        entity_id: input_select.wasmachine_status
        state: Uit
      - condition: state
        entity_id: input_select.wasmachine_status
        state: Klaar
      - condition: state
        entity_id: input_select.wasmachine_status
        state: "Bijna klaar"

Status of the input_select is Uit, so condition is met.
Status of sensor.fibaro_system_fgwpef_wall_plug_power_4_4 attribute power_consumption is above 150. It’s like jumping up to even 2260 because it’s the washing machine.

So why doesn’t the automation trigger the action?
What could’ve changed since 0.45?

Just an idea, but normally the value should be a number without quotes, because with quotes its a string and strings can’t be compared (<, >,…)

Ok thanks I’ll try that. It did work in the previous version though.

Wow this worked :).

Strangely the value with the quote’s worked fine in the previous Hass version.

Anyway by removing the quote’s it’s working again. Thanks!

1 Like