Add DDF for ZY-M100 human breathing presence sensor#6621
Add DDF for ZY-M100 human breathing presence sensor#6621manup merged 8 commits intodresden-elektronik:masterfrom
Conversation
All is described in issue dresden-elektronik#6517
Suppressing " in default errorcode value
Change default value for errorcode back to "1" as it is a string
Adding lightlevel as stated in dresden-elektronik#6517
SwoopX
left a comment
There was a problem hiding this comment.
Thanks for submitting the PR. Apart from the already given comments, I have to say I got mixed feelings on the usage/recycling of quite some resource items. This is pretty much stretched out for this device, e.g. sensitivitymax is not even supposed to be writable.
@manup What's your opinion here?
I discoverd it later because |
BabaIsYou
left a comment
There was a problem hiding this comment.
Modified following remarks on submitted PR
Indeed for |
Then the json supporting sensistivitymax need to be updated to R instead of RW ? |
shows that it's still my initial commit, so should hopefully be safe to set it to R. |
|
Hi, if lux_to_lightlevel.js is used as proposed by SwoopX we need default values here |
|
Ha yes can add in DDF So with that "state/dark" and "name": "state/daylight" will be updated too. |
|
@mprajsler Good catch on the threshold values, I apparently missed to copy them. So it would be sufficient to just add them. Default values are already part of the definition file, no need to add it |
Done ! ;-) |
Done thru PR #6653 |
|
Is the PR ready to merge? :) |
Yes it is ;-) |
All is described in issue #6517