Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning about the v.112 multiple entities condition #371

Closed
febalci opened this issue Jul 9, 2020 · 1 comment · Fixed by #374 or #375
Closed

Warning about the v.112 multiple entities condition #371

febalci opened this issue Jul 9, 2020 · 1 comment · Fixed by #374 or #375
Labels

Comments

@febalci
Copy link

febalci commented Jul 9, 2020

On HA v.112, the new structure which allows to use multiple entities and states in YAML configurations causes a warning/error:

  condition:
    - condition: state
      entity_id: 
        - binary_sensor.xiaomi_motion_sensor_a
        - binary_sensor.xiaomi_motion_sensor_b
      state: 'off'

On "state: 'off'" line it gives:
-> Incorrect type. Expected "string"

@frenck
Copy link
Collaborator

frenck commented Jul 12, 2020

Fixed in 1.7.0

@frenck frenck closed this as completed Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
2 participants