hass-core/homeassistant/components/livisi
Felix Rotthowe 3a34f818e8
Refactor Livisi Switch and Climate to inherit from a common base class (#89085)
* Refactor Livisi entities to inherit from a common base class

* Add livisi_entity to .coveragerc

* Device location can be None

* Add use_room_as_device_name argument to constructor of LivisiEntity

When initializing, set entity name attribute only if device name differs (i.e. use_room_as_device_name=True).

* re-add comment for special handling of climate device names

* Add explicit type to constructur argument

* Make use_room_as_device_name a keyword only arg

* rename livisi_entity.py to entity.py

* change livisi_entity.py to entity.py in coveragerc

* Code quality improvements as suggested in PR

* sort .coveragerc

* fix isort issue

* fix all isort issues
2023-03-03 15:23:38 +01:00
..
__init__.py Add support for LIVISI climate devices (#86691) 2023-02-27 10:38:52 +01:00
climate.py Refactor Livisi Switch and Climate to inherit from a common base class (#89085) 2023-03-03 15:23:38 +01:00
config_flow.py
const.py Add support for LIVISI climate devices (#86691) 2023-02-27 10:38:52 +01:00
coordinator.py Add support for LIVISI climate devices (#86691) 2023-02-27 10:38:52 +01:00
entity.py Refactor Livisi Switch and Climate to inherit from a common base class (#89085) 2023-03-03 15:23:38 +01:00
manifest.json Add myself to codeowners of Livisi integration (#88900) 2023-02-28 14:48:13 +01:00
strings.json
switch.py Refactor Livisi Switch and Climate to inherit from a common base class (#89085) 2023-03-03 15:23:38 +01:00