Commit Graph
26 Commits
Author SHA1 Message Date
Franck NijhofandGitHub 555d838290 Enable ruff B010 rule and replace setattr with direct attribute assignmet (#170527) 2026-05-13 23:39:32 +02:00
epenetandGitHub 7ea7576188 Cleanup legacy support for extracting color modes from light supported features (#162265) 2026-02-05 09:33:22 +01:00
Artur PragaczandGitHub 7009a96711 Revert "Remove deprecated supported features warning in LightEntity" (#134927) 2025-01-06 22:39:24 +01:00
epenetandGitHub 8080ad14bf Add warning when light entities do not provide kelvin attributes or properties (#132723) 2024-12-13 15:34:02 +01:00
epenetandGitHub 2ce2765e67 Adjust light test helpers to use Kelvin, and cleanup unused helpers (#133048)
Cleanup light test helper methods
2024-12-12 16:49:25 +01:00
epenetandGitHub 1f8913d6cd Remove deprecated supported features warning in LightEntity (#132371) 2024-12-06 20:29:30 +01:00
Jan BouwhuisandGitHub ac6d893758 Correct type hints on MQTT tests (#128299) 2024-10-16 13:49:18 +02:00
epenetandGitHub 02139fcca6 Add missing hass type hint in component tests (l) (#124220) 2024-08-19 15:36:23 +02:00
epenetandGitHub 904cf26d31 Add MockToggleEntity type hints in tests (#120075) 2024-06-21 12:32:03 +02:00
epenetandGitHub 38a6e666a7 Add missing return type to some test functions (#119665) 2024-06-14 08:26:45 +02:00
epenetandGitHub abb8c58b87 Fix consider-using-tuple pylint warnings in core tests (#119463) 2024-06-12 12:35:01 +02:00
J. Nick KostonandGitHub cabc4f797a Preload storage for integrations we know we are going to setup (#114192) 2024-03-25 15:49:54 -10:00
Jan-Philipp BeneckeandGitHub 9580adfde9 Use new setup_test_component_platform helper instead of test fixture for light platform (#114200) 2024-03-26 00:17:16 +01:00
Marc MuellerandGitHub efc54971d3 Update empty line formatting after module docstring (#114040) 2024-03-23 00:27:57 +01:00
Jan-Philipp BeneckeandGitHub ff6812a798 Split light fixture from implementation to only import when fixture is actually used (#113892)
* Split light fixture from implementation to only import when fixture is actually used

* Non-local import
2024-03-21 10:49:32 +01:00
Marc MuellerandGitHub 1722e23df8 Add empty line after module docstring [tests l-p] (#112710) 2024-03-08 14:55:15 +01:00
Erik MontnemeryandGitHub 60c8d95a77 Remove white_value support from light (#76926) 2022-08-18 08:21:05 -04:00
Erik MontnemeryandGitHub 67f3e717a8 Add support for color_mode white to tasmota light (#51608) 2021-06-08 17:43:04 +02:00
Erik MontnemeryandGitHub c7584a1f92 Add color_mode support to MQTT JSON light (#47993) 2021-03-31 11:28:45 +02:00
DrzonyandGitHub 99d1e3e71d MQTT Light: Use flash attribute in async_turn_off (#47919) 2021-03-15 11:24:07 +01:00
Xiaonan ShenandGitHub 5d8e6d5432 Fix light toggle service attributes (#35483) 2020-05-11 12:58:59 +02:00
Bas NijholtandFabian Affolter aeff27680b use isort to sort imports according to PEP8 for light (#29648) 2019-12-08 22:46:23 +05:30
Paulus SchoutsenandGitHub 02d9ed5e36 Do not select all entities when omitting entity ID in service call (#29178)
* Do not select all entities when omitting entity ID

* Address comments Matthew

* Require either area_id or entity_id

* Fix tests

* Fix test
2019-12-02 16:23:12 -08:00
Paulus Schoutsen 4de97abc3a Black 2019-07-31 12:25:30 -07:00
Erik MontnemeryandMartin Hjelmare 5376e15286 Convert some test helpers to coroutines and adjust tests (#23352)
* Convert some test helpers to coroutines

* Fix tests
2019-04-25 10:14:16 +02:00
cdce8pandPaulus Schoutsen 70b901017f Remove service helper (5) (#16917)
* Update switch

* Update script

* Update light

* Fix tests

* Fix config/script hook

* Async_create_task

* Fix flux switch
2018-09-27 23:13:11 +02:00