vanackej / risco-mqtt-local

Provide Risco alarm system integration to Home assistant using local TCP communication (no cloud required) and MQTT
MIT License
24 stars 11 forks source link

Output status doesn't update #38

Open markxroberts opened 2 years ago

markxroberts commented 2 years ago

I'm working on adding Outputs to the code. I can get all config data to pull through, but Output.Status doesn't seem to update. The only way I can get the status to pull through is to set an initial null state and publish the state via OStatusChanged.

Configuration

Additional context Status consistently shows as undefined when I publish the raw state. I've tried stipulating '--', '-', 'a', 'Deactivated', 'Activated', 'Pulsed'. Do you have any thoughts about this? What am I missing?

vanackej commented 2 years ago

I'm having a look at this, I let you know