This is a great bit of code, however I'm running into an issue when using it with platforms other than HASS as those platforms can't deal with the status updates not being JSON.
There are two solutions here as I see it:
Keep the topic as inkbird/status for all output, but change the format of the status message to {"current_status": "online"} or {"current_status": "offline"}
Split the topics out to something like inkbird/status and inkbird/data so we can monitor the appropriate data
Hey,
This is a great bit of code, however I'm running into an issue when using it with platforms other than HASS as those platforms can't deal with the status updates not being JSON.
There are two solutions here as I see it:
inkbird/status
for all output, but change the format of the status message to{"current_status": "online"}
or{"current_status": "offline"}
inkbird/status
andinkbird/data
so we can monitor the appropriate data