Commit Graph

108 Commits (improve_trigger_validation)

Author SHA1 Message Date
Peter Åslund 626f8a9166
Add codeowner to Adax (#144587)
* Add codeowner to Adax

* Reformatted manifest file
2025-05-10 00:54:36 +02:00
Peter Åslund a3a1d424c6
Implement data coordinator for Adax-integration (#139514)
* Implemented coordinator (for Cloud integration)

* Optimized coordinator updates

* Finalizing

* Running ruff and ruff format

* Raise error if trying to instantiate coordinator for a AdaxLocal config

* Re-added data-handler for AdaxLocal integrations

* Added a coordinator for Local integrations

* mypy warnings

* Update homeassistant/components/adax/manifest.json

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>

* Resolve mypy issues

* PR comments

- Explicit passing of config_entry to Coordinator base type
- Avoid duplicate storing of Coordinator data. Instead use self.data
- Remove try-catch and wrapping to UpdateFailed in _async_update_data
- Custom ConfigEntry type for passing coordinator via entry.runtime_data

* When changing HVAC_MODE update data via Coordinator to optimize

* Apply already loaded data for Climate entity directly in __init__

* Moved SCAN_INTERVAL into const.py

* Removed logging statements

* Remove unnecessary get_rooms() / get_status() functions

* Resolvning mypy issues

* Adding tests for coordinators

* Resolving review comments by joostlek

* Setup of Cloud devices with device_id

* Implement Climate tests for Adax

* Implementing assertions of UNAVAILABLE state

* Removed no longer needed method

* Apply suggestions from code review

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>

* Mock Adax class instead of individual methods

* Mock config entry via fixture

* Load config entry data from .json fixture

* Hard code config_entry_data instead of .json file

* Removed obsolete .json-files

* Fix

* Fix

---------

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2025-04-30 20:33:46 +02:00
Norbert Rittel 5c642ef626
Fix spelling of user-facing strings in `adax` integration (#141190)
- capitalize "Bluetooth" and "LED"
- sentence-case "Wi-Fi password"
2025-03-23 13:21:07 +02:00
Erik Montnemery f83c8de8d3
Update signature of platforms' async_setup_entry (#138201) 2025-02-10 21:08:03 +01:00
G Johansson 768c2b0f3d
Remove _enable_turn_on_off_backwards_compatibility A-F (#132417)
Remove _enable_turn_on_off_backwards_compatibility A-G
2024-12-05 21:46:59 +01:00
Jan-Philipp Benecke 2fa6370dc0
Use debug instead of info log level in components [a] (#125944)
* Use debug instead of info log level in components [a]

* Process code review comments
2024-09-14 15:24:55 +02:00
larsvinc a5c82f3713
Add adax on/off functionality for local heaters (#114557)
* Add adax on/off functionality for local heaters

* Fixed ruff / newline

* Ran Ruff

* Update homeassistant/components/adax/climate.py

Removed unecessary return

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/adax/climate.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/adax/climate.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Fixed bug with internal temperature state.

* Apply suggestions from code review

Added target_temp for code clarity

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2024-04-06 17:09:48 +02:00
Marc Mueller ff3a801936
Add empty line after module docstring [a-d] (#112697) 2024-03-08 14:51:32 +01:00
Erik Montnemery 6fe28d3764
Migrate integrations a-d to generic flowhandler (#111861) 2024-02-29 20:07:14 +01:00
G Johansson 449790c178
Add Adax migrated ClimateEntityFeatures (#109341) 2024-02-02 09:02:41 +01:00
G Johansson 1acc9007d4
Add TURN_ON/OFF ClimateEntityFeature for Adax (#108966) 2024-01-30 18:11:42 +01:00
Joost Lekkerkerker 283ff4fada
Add Adax to strict typing (#105562) 2023-12-12 21:29:18 +01:00
Daniel Hjelseth Høyer 63ef9efa26
Bump pyAdax to 0.4.0 (#104660)
Updata Adax lib

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2023-11-28 21:22:48 +01:00
TopdRob e27baedf32
Bump adax to 0.3.0 (#102556) 2023-10-23 11:21:33 +02: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
Erik Montnemery 334dacc322
Change Entity.name default to UNDEFINED (#94574)
* Change Entity.name default to UNDEFINED

* Update typing

* Update Pylint plugin

* Update TTS test
2023-06-15 11:09:53 +02:00
Erik Montnemery 231aad7a68
Sort manifests 1 (#87022) 2023-02-08 20:29:44 +01:00
Franck Nijhof 939eef3b28
Remove translations from Core (#87543)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-06 15:06:43 +01:00
Franck Nijhof 5e81d28116
Update black to 23.1.0 (#87188) 2023-02-02 18:35:24 +01:00
GitHub Action d1ecc418bb [ci skip] Translation update 2023-01-19 00:25:04 +00:00
GitHub Action 941f82b60c [ci skip] Translation update 2023-01-11 00:23:37 +00:00
GitHub Action f25017313a [ci skip] Translation update 2022-12-09 00:24:29 +00:00
epenet 44d3f2192c
Use UnitOfTemperature in climate entities [a-f] (#83125) 2022-12-04 11:53:56 +02:00
GitHub Action a1eab7f842 [ci skip] Translation update 2022-12-04 00:23:06 +00:00
GitHub Action 03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +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 3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
Daniel Hjelseth Høyer b2a4228dae
Update adax library to 0.1.5 (#81407) 2022-11-02 14:50:38 +01:00
GitHub Action 39ddc37d76 [ci skip] Translation update 2022-09-26 00:30:11 +00:00
epenet f14bb8195f
Import climate constants from root [a-l] (#78021) 2022-09-08 11:24:15 +02:00
GitHub Action 21cd2f5db7 [ci skip] Translation update 2022-08-20 00:23:43 +00:00
epenet 65eb1584f7
Improve entity type hints [a] (#76986) 2022-08-18 15:56:52 +02:00
GitHub Action bec8e544f4 [ci skip] Translation update 2022-08-14 00:25:47 +00:00
GitHub Action 7c81f790a7 [ci skip] Translation update 2022-08-12 00:23:47 +00:00
GitHub Action 32a2999b85 [ci skip] Translation update 2022-08-06 00:24:46 +00:00
GitHub Action 81e3ef03f7 [ci skip] Translation update 2022-08-02 00:27:42 +00:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
J. Nick Koston cd03c49fc2
Wait for config entry platform forwards (#73806) 2022-07-09 17:27:42 +02:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
Daniel Hjelseth Høyer bb052679df
Update adax lib (#71609)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2022-05-09 23:08:22 +03:00
GitHub Action 348016dbbf [ci skip] Translation update 2022-04-29 00:22:21 +00:00
epenet ca01183375
Use climate enums in adax (#70620) 2022-04-26 10:00:06 +02:00
Daniel Hjelseth Høyer 04dd7c3f7c
Switch Adax to ClimateEntityFeature (#69286) 2022-04-04 19:48:33 +02:00
epenet ecd43f391f
Prettify json (manifest.json) (#68886) 2022-03-30 10:56:37 +02:00
GitHub Action c64b4d997b [ci skip] Translation update 2022-03-13 00:18:58 +00:00
GitHub Action dc31f420ed [ci skip] Translation update 2022-03-12 00:17:47 +00:00
GitHub Action 66d757115c [ci skip] Translation update 2022-03-11 00:21:48 +00:00
GitHub Action 102ae9f0e3 [ci skip] Translation update 2022-02-22 00:17:23 +00:00