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.
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?
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?