Jason Rumney
|
c6c0a76adc
light: lights with only brightness control should appear off at 0
|
1 год назад |
Jason Rumney
|
77e2d75a2f
Tests: test types with `is`
|
1 год назад |
Jason Rumney
|
d0dc80064d
Cleanup: Reformat to satisfy ruff 0.3.0
|
1 год назад |
Jason Rumney
|
7f8210c4ed
Use HA scaling functions for fan speed and light brightness
|
2 лет назад |
Tim Laing
|
8410111dd5
Reformatted using isort & black to match vscode task
|
2 лет назад |
Jason Rumney
|
630ada43c0
Light tests: add a test for recently added WHITE support
|
2 лет назад |
Jason Rumney
|
2d59403fda
Smartplugs: Remove tests for removed legacy attributes
|
3 лет назад |
Jason Rumney
|
0a13b4addf
Refactor: merge generic/* implementations into the top-level platforms.
|
3 лет назад |
Jason Rumney
|
6d2b1f3f51
Tests: mark async tests so latest pytest does not skip them.
|
3 лет назад |
Jason Rumney
|
f64fcd0d02
Allow explicitly setting the protocol version.
|
3 лет назад |
Jason Rumney
|
8da67346c3
Tests: remove obsolete entity enabling from mock configs.
|
3 лет назад |
Jason Rumney
|
1792aefdaa
Fix config loading tests.
|
4 лет назад |
Jason Rumney
|
378b2b19e4
Update unit test for config name standardization.
|
4 лет назад |
Jason Rumney
|
b7e34c729b
Migrate to config_id based on type and name as index in config.
|
4 лет назад |
Jason Rumney
|
2d47be7a68
Prepare initialisation for future multiple entities of the same type.
|
4 лет назад |
Jason Rumney
|
c16cb54d7d
Additional tests to fill out coverage more.
|
4 лет назад |
Jason Rumney
|
ae418c840a
Migrate config.
|
4 лет назад |
Jason Rumney
|
3678ee3782
Resolve CONF_TYPE_AUTO once per device.
|
4 лет назад |
Jason Rumney
|
07ffe2df11
Remove explicit conf_types for individual devices.
|
4 лет назад |
Jason Rumney
|
25f1b12b17
Add generic tests for devices that are still supported by custom classes.
|
4 лет назад |
Jason Rumney
|
9c1c73e5d8
Improve test coverage for generic components.
|
4 лет назад |
Jason Rumney
|
5698e1811d
Convert light to generic component.
|
4 лет назад |
Jason Rumney
|
53a150bed6
Refactor climate, light, switch to lookup legacy_class in config.
|
4 лет назад |