Jason Rumney
|
77e2d75a2f
Tests: test types with `is`
|
1 year ago |
Jason Rumney
|
d0dc80064d
Cleanup: Reformat to satisfy ruff 0.3.0
|
1 year ago |
Tim Laing
|
8410111dd5
Reformatted using isort & black to match vscode task
|
2 years ago |
Jason Rumney
|
2d59403fda
Smartplugs: Remove tests for removed legacy attributes
|
3 years ago |
Jason Rumney
|
0a13b4addf
Refactor: merge generic/* implementations into the top-level platforms.
|
3 years ago |
Jason Rumney
|
6d2b1f3f51
Tests: mark async tests so latest pytest does not skip them.
|
3 years ago |
Jason Rumney
|
f64fcd0d02
Allow explicitly setting the protocol version.
|
3 years ago |
Jason Rumney
|
ea1b356b80
Add support for siren platform.
|
3 years ago |
Jason Rumney
|
8da67346c3
Tests: remove obsolete entity enabling from mock configs.
|
3 years ago |
Jason Rumney
|
1792aefdaa
Fix config loading tests.
|
4 years ago |
Jason Rumney
|
b7e34c729b
Migrate to config_id based on type and name as index in config.
|
4 years ago |
Jason Rumney
|
2d47be7a68
Prepare initialisation for future multiple entities of the same type.
|
4 years ago |
Jason Rumney
|
c16cb54d7d
Additional tests to fill out coverage more.
|
4 years ago |
Jason Rumney
|
ae418c840a
Migrate config.
|
4 years ago |
Jason Rumney
|
3678ee3782
Resolve CONF_TYPE_AUTO once per device.
|
4 years ago |
Jason Rumney
|
07ffe2df11
Remove explicit conf_types for individual devices.
|
4 years ago |
Jason Rumney
|
25f1b12b17
Add generic tests for devices that are still supported by custom classes.
|
4 years ago |
Jason Rumney
|
9c1c73e5d8
Improve test coverage for generic components.
|
4 years ago |
Jason Rumney
|
ef68755274
Use the generic lock component instead of separate classes for each device.
|
4 years ago |
Jason Rumney
|
2adffb065b
Add a generic lock component.
|
4 years ago |
Jason Rumney
|
2d8f251c66
Fix test warning and Sonar issues.
|
4 years ago |
Jason Rumney
|
5d54b1aef1
Get the legacy_class from the config files for lock devices.
|
4 years ago |