Commit Graph

14 Commits (5f20725fd5c87decb04fc0ccf1ec028b59841ae5)

Author SHA1 Message Date
Joost Lekkerkerker a4818c5f54
Use shorthand attributes for Elmax (#99277) 2023-08-30 12:07:55 +02:00
Marc Mueller e2d2ec8817
Use asyncio.timeout [b-e] (#98448) 2023-08-15 08:30:20 -05:00
Erik Montnemery 045c327928
Move DeviceInfo from entity to device registry (#98149)
* Move DeviceInfo from entity to device registry

* Update integrations
2023-08-10 22:04:26 -04:00
Alberto Geniola e5261fe2a3
Implement Elmax cover platform (#79409)
* Implement Elmax cover platform.

* Reduce the number of code lines by leveraging the := operator

* Move _COMMAND_BY_MOTION_STATUS declaration at the top

* Remove redundant null-check

* Move conditional platform setup logic into the platform itself

* Remove redundant log

* Change log severity for stop request on IDLE cover state

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-08-05 22:03:51 +02:00
Joost Lekkerkerker a04aaf10a5
Use DeviceInfo object d-o (#96280) 2023-07-11 19:41:55 +02:00
Alberto Geniola f104bba683
Elmax -Handle 422 busy error with a retry approach (#91926) 2023-04-24 18:51:40 +02:00
Franck Nijhof b0cee0bc46
String formatting and max line length - Part 1 (#84390)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-12-22 10:12:50 +01:00
Alberto Geniola ecdbddc1fa
Elmax/alarm_control_panel (#75365) 2022-12-18 09:12:43 -07:00
Alberto Geniola 73a0197cac
Elmax/sensor platform (#64090) 2022-06-30 14:55:57 -07:00
Marc Mueller 354fc4c1ae
Update coordinator typing (2) [e-f] (#68462) 2022-03-21 14:13:16 +01:00
epenet a2b611d9d9
Drop use of HomeAssistantType in elmax (#63105)
* Drop HomeAssistantType in elmax

* Update common.py

* Update switch.py

Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-02 10:19:42 +02:00
Alberto Geniola 1f425b1942
Improve Elmax code quality (#61273)
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 19:50:43 +01:00
Michael b68a2747f3
Use relative imports [A-H] (#61574) 2021-12-13 20:03:01 +01:00
Alberto Geniola b0affe7bfb
Elmax integration (#59321)
* Add elmax integration.

* Run hassfest and generate requirements_all

* Remove secondary platforms from elmax integration as per first component integration.

* Move ElmaxCoordinator and ElmaxEntity into external file
Linting review

* Remove useless variables

* Fix wrong indentation.

* Remove unecessary platforms.

* Remove unnecessary attributes from manifest.

* Rely on property getters/setters rathern than private attribute from parent.
Update internal entity state just after transitory state update.

* Update homeassistant/components/elmax/const.py

Reference Platform constant

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>

* Update username/password values

Rely on already-present templating constants

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>

* Add missing constant import.

* Remove unnecessary test_unhandled_error() callback implementation.

* Add common.py to coverage ignore list.

* Improve coverage of config_flow.

* Rename the integration.

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Fix reauth bug and improve testing.

* Refactor lambdas into generators.

Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-07 22:42:55 +01:00