thecode / ha-rpi_gpio

Home Assistant Raspberry Pi GPIO Integration
Apache License 2.0
178 stars 39 forks source link

Add the option to have persistent switches #266

Closed tomer-w closed 2 months ago

tomer-w commented 2 months ago

Add new GPIO switch class - PersistentRPiGPIOSwitch which will restore the switch state after Home Assistant restart. As part of the change move the core switch to use async functions.

thecode commented 2 months ago

Please update the readme README & the info

tomer-w commented 2 months ago

Done. Sorry for not doing it as part of the original commit.

thecode commented 2 months ago

Done. Sorry for not doing it as part of the original commit.

No worries, there is one more place to update - info (this is identical to the readme, just shown in a different place)

tomer-w commented 2 months ago

Done.