-
-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Incorrect attribute error but attribute is on the list of supported attributes in the message. #456
Comments
Do you have a trailing space in it looks like some places you have a whitespace in there. |
Did you put it with the extra whitespace character in your characteristic properties? That could make it appear twice in the list of chars to use. |
Well that was embarrassing, especially since I spend most of yesterday looking into this error before giving up and filing a ticket. I just delete and recreated the character properties from scratch, I was not seeing a space so it might have been some sort of random control character that snuck in. |
Well it's still interesting, I would have expected the whitespace to be removed with the regex filter which should be running on the char props... reaching out to @Shaquu to see if there's some reason the regex ignores the last character of that string? |
@sjorge no need for embarrassment. As discussed with @crxporter error will be a little more descriptive from now on. |
### Added - Support for new advertiser [AVAHI](homebridge/HAP-NodeJS#918) - Support for new advertiser [RESOLVED](homebridge/HAP-NodeJS#965) - Added `msg.hap.reachable` parameter to get device reachable state (related to NO_RESPONSE) ### Fixed - Accessory could not be recovered from NO_RESPONSE using single Characteristic - Make unsupported Characteristic error more descriptive [#456](#456) - FFmpeg No such file or directory [#495](#495) - allChars: properties have spaces in names [#496](#496) - Wait for host to return from unpublish/destroy before exiting, set published flag on destroy - Security system with characteristics, bad behaviour [#388](#388) ### Changed - Updated hap-nodejs to [0.9.7](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.9.7) (bug fixes) - Updated hap-nodejs to [0.9.8](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.9.8) (bug fixes) - Updated hap-nodejs to [0.10.0](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.0) (features) - Updated hap-nodejs to [0.10.1](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.1) (changes) - Updated hap-nodejs to [0.10.2](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.2) (bug fixes) - Updated hap-nodejs to [0.10.3](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.3) (bug fixes) - Updated hap-nodejs to [0.10.4](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.10.4) (bug fixes) - Updated hap-nodejs to [0.11.0](https://github.com/homebridge/HAP-NodeJS/releases/tag/v0.11.0) (features and bug fixes)
NRCHKB Plugin Version
1.4.3
Node JS Version
16.13.0
NPM Version
8.1.0
Node-RED Version
2.0.6
Operating System
OmniOS r151041
What happened?
When sending a update that contains
LockPhysicalControls
to anAirPurifier
service it complains about the characteristic not being supported, but according to HAP-NodeJS it is and it's also listed in the actual error as supported.The service has the follow
How to reproduce?
Send a the following payload to an AirPurifier service:
Expected behavior:
LockPhysicalControls to be accepted for an AirPurifier service as per the definition in https://github.com/homebridge/HAP-NodeJS/blob/43c0143db22cf6c1285cdef15d70adf546a34687/src/lib/definitions/ServiceDefinitions.ts#L117
Additional comments?
No response
Relevant log output
I'm guessing something is going wrong somewhere as
LockPhysicalControls
also appears twice in the error.The text was updated successfully, but these errors were encountered: