Jason Rumney
|
5c9f672146
Rename helpers/mixin.py to entity.py
|
1 ano atrás |
Jason Rumney
|
12e33d812f
switch: use specific exception to catch and log warnings
|
1 ano atrás |
Jason Rumney
|
afa13cc063
Avoid explicit returning of None where easy.
|
1 ano atrás |
Jason Rumney
|
d0dc80064d
Cleanup: Reformat to satisfy ruff 0.3.0
|
1 ano atrás |
Tim Laing
|
8410111dd5
Reformatted using isort & black to match vscode task
|
2 anos atrás |
Jason Rumney
|
10a26639b5
Entities: call super().__init__ from __init__
|
2 anos atrás |
Jason Rumney
|
2d59403fda
Smartplugs: Remove tests for removed legacy attributes
|
3 anos atrás |
Jason Rumney
|
0a13b4addf
Refactor: merge generic/* implementations into the top-level platforms.
|
3 anos atrás |
Jason Rumney
|
ef6c2e9519
Refactor platform init code.
|
3 anos atrás |
Jason Rumney
|
0c9b48e530
Refactor common initialisation code into a helper.
|
3 anos atrás |
Jason Rumney
|
62e3b725cf
Eliminate configuration of non-deprecated entities.
|
3 anos atrás |
Jason Rumney
|
2d47be7a68
Prepare initialisation for future multiple entities of the same type.
|
4 anos atrás |
Jason Rumney
|
c57c7bde70
Prefer non-legacy types.
|
4 anos atrás |
Jason Rumney
|
09d30acbc4
Raise exception if config cannot be loaded.
|
4 anos atrás |
Jason Rumney
|
ae418c840a
Migrate config.
|
4 anos atrás |
Jason Rumney
|
3678ee3782
Resolve CONF_TYPE_AUTO once per device.
|
4 anos atrás |
Jason Rumney
|
532fb44d5c
Add fan entity configurations for Goldair Dehumidifier and Eanons humidifier.
|
4 anos atrás |
Jason Rumney
|
c5971f760e
Convert switch to generic component.
|
4 anos atrás |
Jason Rumney
|
53a150bed6
Refactor climate, light, switch to lookup legacy_class in config.
|
4 anos atrás |
Jason Rumney
|
ea42e4b0ee
Issue #11: add support for two new devices.
|
5 anos atrás |
Jason Rumney
|
3c0ce2e2e0
Properly support switches in __init__.
|
5 anos atrás |
Jason Rumney
|
86edb4f333
Minor typo in error message
|
5 anos atrás |
Jason Rumney
|
58595e2ee8
Fix configuration for switches.
|
5 anos atrás |
Jason Rumney
|
f1024df385
Add support for Kogan Switches.
|
5 anos atrás |