Aohzan / ipx800

IPX800 V4 integration for Home-Assistant
Apache License 2.0
20 stars 12 forks source link

Option to invert the returned value for binary_sensors #48

Closed ydubreuil closed 9 months ago

ydubreuil commented 9 months ago

This adds an option to invert the returned value of a binary_sensors. I needed this to report the value of a dry contact checking if my garage door is closed or not.

Thanks for this integration, it works well for me, just needed this little change :)

ydubreuil commented 9 months ago

Thanks for the review, I addressed your comments and added an entry in the CHANGELOG.

Aohzan commented 9 months ago

I pushed a commit to enhance readme and set invert value in parent class

Aohzan commented 9 months ago

can you test with the last modifications and tell me if everything is working ? (I don't have a V4 right now to test)

ydubreuil commented 9 months ago

Just tested your changes, they work fine.

Aohzan commented 9 months ago

thanks @ydubreuil