sjefferson99 / pico-environment-ha

Home assistant custom component for pico-environment-control
MIT License
0 stars 0 forks source link

Support onboard light motion detection #2

Open sjefferson99 opened 7 months ago

sjefferson99 commented 7 months ago

In addition to on or off, the light can be in motion sense or manual mode. I would like to update the API to have state for on and off and mode for auto or manual ahead of implementing this as currently the API supports on/off/auto with on or off setting the mode to manual.

sjefferson99 commented 7 months ago

PEC API updated to have light state and light motion detection state API endpoints. Reading up on HA integrations on how to support, but this will be a setting for motion detection for lights enabled/disabled alongside the current light entity.