Hi, as of now, numeric state trigger only offers above and bellow options to fire an automation. Why “equals to” is not considered? Thanks!
Because it can be done with a state trigger?
trigger:
- platform: state
entity_id: sensor.foo
to: 42
3 Likes
Can an entity be used in a state trigger? Thanks!
trigger:
- platform: state
entity_id: sensor.foo
to: sensor.bar
you can use a template trigger for that.
1 Like
Sort of. "42.0" != "42"
if compared as strings but they do if compared as numbers. Usually you’re right but there are edge cases this could be handy.
No and that should probably be its own WTH come to think of it…
1 Like