Hi everyone.
Digging into documentation or searching in the forum didn’t help, so I’d rather just ask, just in case anyone knows:
Will the following:
sequence:
- not:
- condition: state
entity_id: media_player.mi_tv_stick
attribute: app_id
state: "com.google.android.tvlauncher"
- condition: state
entity_id: media_player.mi_tv_stick
attribute: app_id
state: "unknown"
work the same way as:
sequence:
- not:
- condition: state
entity_id: media_player.mi_tv_stick
attribute: app_id
state:
- "com.google.android.tvlauncher"
- "unknown"
As per my understanding, if I don’t have the not
, both would work the same (entity attribute could be either of the 2 values).
My doubt/question is: having the not, does the second option (using multiple states) make sure that none of the values exist for that entity attribute?
Thanks in advance and kind regards.