I’m trying to use a sensor created by appdaemon:
self.set_state("sensor."+ location + "_temp_low", state = 'on', attributes = {"device_class": "cold" })
To trigger a callback in a seperate appdaemon app:
low_temp_warning = self.args['low temp warning']
self.listen_state(self.cutoff, low_temp_warning, new = 'on')
The set_state works fine, the sensor is showing in the front end, I’ve also set the loading priority so that the set_state is registered before the listen_state. However the callback does not trigger, I’m thinking this may be by design, something to do with threading?