anyone else how to format the json code to account for two variables? I want to say master bedroom automation = on and time of day boolean is = day or evening (it can also be is not equal to night)
In one of my J fields I have this to evaluate two attributes of the msg, but they’re both strings. Not sure if you need to do something else to test against a boolean and a string in the same statement.
payload.entity_suffix = “coffee_maker” and payload.event.new_state.state = “off”