mirror of
https://github.com/home-assistant/core.git
synced 2026-07-04 23:51:32 +02:00
6582ee3591
* Add options and execute_if_off_supported properties to Color channel * Initialize "options" attribute on Color channel (allowing cache) * Implement execute_if_off_supported for ZHA lights * Make sure that color_channel exists, before checking execute_if_off_supported * Replace "color_channel is not None" check with simplified "if color_channel" * Make "test_number" test expect "options" for init attribute * Add test_on_with_off_color test to test old and new behavior * Experimental code to also support "execute_if_off" for groups if all members support it * Remove support for groups for now Group support will likely be added in a separate PR. For now, the old/standard behavior is used for groups.