Commit Graph

46 Commits (2fe4fc908bbe1c3c6559a079ab103c1d9bab8d36)

Author SHA1 Message Date
Marc Mueller 2c06d4fcb9
Add empty line after module docstring (2) [components] () 2024-03-08 19:15:59 +01:00
Marc Mueller 59a6035d3f
Add empty line after module docstring [j-m] () 2024-03-08 09:01:29 -05:00
Erik Montnemery 52e7912caf
Migrate integrations i-m to generic flowhandler () 2024-02-29 20:08:46 +01:00
G Johansson 810e5f9f67
Add migrated climate feature flags to livisi () 2024-02-04 02:31:05 +01:00
Joost Lekkerkerker a82410d5e9
Deduplicate constants E-Z () 2023-12-13 17:05:37 +01:00
Marc Mueller dd302b291d
Update pylint to 2.17.6 () 2023-09-25 09:14:07 -05:00
Joost Lekkerkerker 8dd3d6f989
Call async added to hass super in Livisi () 2023-09-19 17:40:55 +02:00
Marc Mueller 37288d7788
Add pylint plugin to check for calls to base implementation () 2023-09-18 13:39:36 -05:00
Joost Lekkerkerker 306c7cd9a9
Use correct config entry id in Livisi () 2023-09-07 12:45:47 +02:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry ()
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Felix Rotthowe bacbe4aa58
Fix Livisi climate min/max temperature ()
* Correctly set livisi climate min/max temp

* fix imports
2023-04-03 14:17:57 +02:00
Felix Rotthowe 40131d811c
Handle Livisi TokenExpiredException ()
* reauth

* Request new Token on TokenExpiredException

* relogin using stored auth data

* fix imports

* import formatting
2023-03-26 09:35:49 +02:00
Felix Rotthowe 0bb0b4bfc5
Add livisi window sensor (WDS) ()
* Added support for livisi window sensor

* Add const strings

* added postpix for device_id

* Remove unnecessary import

* Fix imports

* Fix lint errors, remove redundant device class property

* Format code

* Update .coveragerc

* Finish basic window door sensor support

* currently, only one binary sensor (wds) is supported

* Remove unused imports

* Fix isort issue

* Simplify code as suggested in PR

* rename get_device_response to get_device_state

* fix ruff issue

* Be more defensive in interpreting what we get from aiolivisi

* Simplify coordinator

* remove window sensor specific code (isOpen)

* parameter order, type hinta

* Update homeassistant/components/livisi/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/livisi/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/livisi/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/livisi/binary_sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/livisi/binary_sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/livisi/binary_sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: Tecotix <78791840+Tecotix@users.noreply.github.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-24 14:52:50 +01:00
Felix Rotthowe 3157579992
Remove duplicate code in livisi coordinator ()
* Simplify coordinator

* remove window sensor specific code (isOpen)

* parameter order, type hinta

* Update homeassistant/components/livisi/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/livisi/coordinator.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-24 12:59:59 +01:00
StefanIacobLivisi 6b768b90b4
Bump aiolivisi to 0.0.19 () 2023-03-15 18:05:45 +01:00
Felix Rotthowe 5828e9a8d2
Simplify LivisiEntity inheritance ()
* We don't need to inherit Entity. The CoordinatorEntity already does that.

* update imports
2023-03-09 09:27:53 +01:00
Felix Rotthowe 189c612100
Add support for Livisi PSSO, ISS and ISS2 switch devices () 2023-03-05 13:36:56 +01:00
Felix Rotthowe 3a34f818e8
Refactor Livisi Switch and Climate to inherit from a common base class ()
* 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
Felix Rotthowe 1c4aa26ab6
Add myself to codeowners of Livisi integration ()
Add @planbnet to codeowners of Livisi integration
2023-02-28 14:48:13 +01:00
Felix Rotthowe 4d58c9de8d
Add human readable name for Livisi climate devices ()
* Add human readable climate device name

* Remove room name from entity name and set "has_entity_name"
2023-02-28 13:08:52 +01:00
StefanIacobLivisi fd87748b99
LIVISI climate device improvement ()
Code review follow-up
2023-02-27 17:20:10 +01:00
StefanIacobLivisi 10bf910f88
Add support for LIVISI climate devices ()
* Add support for LIVISI climate devices

* Remove the reauthentication logic

* Add support for LIVISI climate devices

* Remove the reauthentication support

* Code review follow-up

* Update homeassistant/components/livisi/manifest.json

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Update homeassistant/components/livisi/manifest.json

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

* Code review follow-up

* Code Review Follow-up

* Code Review Follow-up

* Code review follow-up

* Code review follow-up

* Code review follow-up

* Code review follow-up

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-27 10:38:52 +01:00
StefanIacobLivisi ba929dfc79
Bump aiolivisi to 0.0.16 ()
Increment aiolivisi library version
2023-02-24 15:22:30 +01:00
Paulus Schoutsen 91ecdc83b2
Fix dangling task for livisi () 2023-02-17 20:57:00 +01:00
Erik Montnemery 90d7fb8418
Sort manifests 5 () 2023-02-08 20:35:25 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core ()
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
StefanIacobLivisi 468457eff4
Bump aiolivisi to 0.0.15 () 2023-01-26 16:28:16 +01:00
GitHub Action e1483ff746 [ci skip] Translation update 2023-01-21 00:24:12 +00:00
GitHub Action b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
GitHub Action 77f9548e51 [ci skip] Translation update 2023-01-15 00:25:52 +00:00
GitHub Action 6745f0c56a [ci skip] Translation update 2022-12-12 00:24:56 +00:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
GitHub Action 03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action 797dc51bc5 [ci skip] Translation update 2022-11-26 00:22:30 +00:00
GitHub Action f3b3193f7a [ci skip] Translation update 2022-11-25 00:24:19 +00:00
GitHub Action eaf6d43508 [ci skip] Translation update 2022-11-23 00:26:26 +00:00
GitHub Action 0be2a3f182 [ci skip] Translation update 2022-11-22 00:26:32 +00:00
GitHub Action 3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
GitHub Action fe5246fb6f [ci skip] Translation update 2022-11-19 00:26:11 +00:00
GitHub Action 5119005a8d [ci skip] Translation update 2022-11-18 00:29:16 +00:00
GitHub Action 83a6012f80 [ci skip] Translation update 2022-11-15 00:26:42 +00:00
GitHub Action a6a3bf261d [ci skip] Translation update 2022-11-12 00:28:24 +00:00
GitHub Action 8b4dbbe593 [ci skip] Translation update 2022-11-10 00:27:41 +00:00
GitHub Action dcf68d768e [ci skip] Translation update 2022-11-09 00:27:20 +00:00
GitHub Action 785cf0e29c [ci skip] Translation update 2022-11-08 00:26:39 +00:00
StefanIacobLivisi 902e075d58
Add livisi integration () 2022-11-07 14:40:23 +01:00