home-assistant/os-agent

Support toggling Yellow LED at runtime

agners opened this issue · 1 comments

The current PR to implement LED control in HA Core allows to control the LED through an entity of the homeassistant_yellow integration (see home-assistant/core#86451).

However, in OS Agent LED control is (currently) implemented as a configuration, which controls the startup state.

This is very bad user experience: State changes of entities are (expected) to be immediate.

The OS Agent implementation should be changed to take immediate effect. However, the current configuration change leads to (somewhat risky) boot partition writes. The change should also minimize writes to the boot partition by using a timer and/or writing only on shutdown.

agners commented

The implementation has been changed to not use an entity, but a config flow setting. The user is informed that a restart is needed. Currently so currently it is not necessary to change LED handling on OS Agent side.