Skip to content

convert humidity to float in domoticz plugin#39

Open
maarten-v wants to merge 1 commit intoAmpScm:mainfrom
maarten-v:fix-domoticz-type-bug
Open

convert humidity to float in domoticz plugin#39
maarten-v wants to merge 1 commit intoAmpScm:mainfrom
maarten-v:fix-domoticz-type-bug

Conversation

@maarten-v
Copy link

The humidity is a string, I think it was a float before looking at this remark: #30 (comment)

But it's now causing errors in domoticz: "Error updating zone device: '<' not supported between instances of 'str' and 'int'"

This converts it to float in the domoticz plugin.

@rhuijben
Copy link
Member

rhuijben commented Mar 5, 2026

I think we should also revert to the proper value in the api. This could be caused by the cloud changes?n(not sure though). Let's pass the proper values...

And apply this patch to support both the bad and good types on the domoticz side.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants