Add CONOW CBE2000 Pro Solar Battery device definition file#5589
Conversation
|
👮♀️ |
make-all
left a comment
There was a problem hiding this comment.
There are no optional dps here. On a device with this many dps it is very unusual for the device to always send them all. Does the config match if the product id is removed?
… unnessecary step setting
|
All change requests are now implemented. Thank you for your advice @make-all :-) |
Without the product id it does not match but I do not know which dps are optional or not. I queried the the device info and device properties info on the Tuya IOT portal and in the responses is no info about whats optional and what not so I added the entities that I think are usefull to have in Home Assistant (which is more what you have in den Conow App or SmartLife). |
|
You won't find this info in the cloud, you figure it out from the log message when you add the device. Any dps that are missing from the log message need to be optional. |
Got it. I set all dps that are not present in the "Partial cloud device spec" json log message to be optional. I addded the json data of the partial cloud spec for reference. |
That is not really correct either. You need to capture the log of what the device actually sends. Either the warning level log containing This can be different from the basic info the cloud returns from the API calls accessible from a QR code login. |
Okay I understand. I got this from the log: I will use this to set the optional dps later this day. Thank you for your advice on that. |
|
I updated the optional DPS based on the debug message above. Should now be correct. |
- rename file slightly to better follow convention - reword some entity names to more natural word order - move static info into attributes, move from problem to battery capacity sensor which is general info about the device
Summary
Why
Testing
Screenshots