Commit Graph

188 Commits (ad7a334147213e01e45b5ea15804d75629e3f362)

Author SHA1 Message Date
Duco Sebel 5f3bb7e89e
Use build in unit of measurement in HomeWizard 'Water usage' sensor (#132261) 2024-12-06 22:55:39 +01:00
Duco Sebel 89ee49e50c
Round status light brightness number in HomeWizard (#132069) 2024-12-02 14:04:39 +01:00
Duco Sebel a0893bb9f7
Mark HomeWizard quality scale as platinum (#131663) 2024-11-26 21:33:45 +01:00
Duco Sebel a252faf9af
Add reconfiguration flow in HomeWizard (#131535) 2024-11-26 19:20:50 +01:00
Duco Sebel a9cab28474
Add DHCP configuration update in HomeWizard (#131547) 2024-11-26 19:17:04 +01:00
Duco Sebel bee34fe954
Set PARALLEL_UPDATES in remaining HomeWizard platforms (#131316) 2024-11-26 10:02:23 +01:00
Duco Sebel 904c3291d9
Add exception translation in HomeWizard coordinator (#131404) 2024-11-25 10:23:07 +01:00
Duco Sebel c402bb5da0
Mark HomeWizard docs quality scale requirements as done (#131414) 2024-11-24 11:27:39 +01:00
Duco Sebel 1e313c6ff5
Bumb python-homewizard-energy to 7.0.0 (#131366) 2024-11-23 14:29:03 -05:00
Duco Sebel 557a80497e
Mark quality_scale docs-removal-instructions as done (#131370) 2024-11-23 17:07:34 +01:00
Duco Sebel 30c176b400
Mark quality_scale docs-installation-parameters as done (#131372) 2024-11-23 17:03:00 +01:00
Duco Sebel d55eb896d2
Add Config Flow data descriptions for HomeWizard (#131315)
* Add data_description to HomeWizard setup flow

* Make quality_scale config-flow as done
2024-11-23 13:17:28 +01:00
Franck Nijhof e690c1026c
Record current IQS state for HomeWizard Energy (#131082) 2024-11-22 19:49:04 +01:00
Joost Lekkerkerker e6225e3dcc
Drop current quality scale (#131072) 2024-11-20 20:54:15 +01:00
Duco Sebel 1f8fd52103
Fix reload not triggered on DisabledError in HomeWizard (#128636)
* Fix reload not triggered on DisabledError in HomeWizard

* Update homeassistant/components/homewizard/coordinator.py

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

* Use helper and fix merge issue

* Add test to detect reload on DisabledError

* Wait until next update instead of a direct call to update

* Add doc why we reload

---------

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2024-10-18 14:48:41 +02:00
Duco Sebel 4251389c12
Remove ExternalDevice 'invalid ID' migration in HomeWizard (#128634) 2024-10-18 09:33:53 +02:00
epenet c696a3b789
Use reauth helpers in homewizard (#128628) 2024-10-18 09:22:31 +02:00
epenet 117bc67a4c
Adjust homewizard translation strings (#128423)
* Add missing translation for homewizard

* Adjust
2024-10-15 11:34:20 +02:00
Duco Sebel 186c9aa33b
Remove ExternalDevice migration in HomeWizard (#125197) 2024-09-04 18:32:57 +02:00
Christian Neumeier 3e53cc175f
Change POWER_VOLT_AMPERE_REACTIVE to UnitOfReactivePower (#117153)
* Refactoring: exchange POWER_VOLT_AMPERE_REACTIVE with UnitOfReactivePower

* updated iotawatt and mysensors from VOLT_AMPERE_REACTIVE to UnitOfReactivePower.VOLT_AMPERE_REACTIVE

* deprecation period for POWER_VOLT_AMPERE_REACTIVE changed to one year.

* POWER_VOLT_AMPERE_REACTIVE changed to UnitOfReactivePower in blebox integration

* Update homeassistant/const.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-08-21 15:36:45 +02:00
Duco Sebel 565f271c5c
Bumb python-homewizard-energy to 6.3.0 (#124150) 2024-08-18 15:21:04 +02:00
Duco Sebel f02fceed5b
Bumb python-homewizard-energy to 6.2.0 (#123514) 2024-08-10 17:01:17 +02:00
Duco Sebel 5612e3a92b
Bumb python-homewizard-energy to 6.1.1 to embed model in upstream library (#122365) 2024-07-22 11:26:38 +02:00
Marc Mueller c70e611822
Fix homewizard api close not being awaited on unload (#122324) 2024-07-22 10:19:08 +02:00
Duco Sebel 474e8b7a43
Implement model_id in HomeWizard (#122130)
* Add model_id and use hardcoded model names for HomeWizard

* Update names
2024-07-19 08:22:06 +02:00
Franck Nijhof e6dec7c856
Migrate HomeWizard to config entry runtime data (#122088) 2024-07-17 10:20:31 -05:00
Franck Nijhof 8ae4c4445d
Clean up old migration in HomeWizard (#122086) 2024-07-17 16:18:21 +02:00
Duco Sebel 22cc7d34d5
Fix unique_id not being unique in HomeWizard (#117940) 2024-05-27 11:23:10 +02:00
Marc Mueller 34bd291615
Use PEP 695 for decorator typing (1) (#117638) 2024-05-17 16:27:02 +02:00
Sid a5b609f081
Enable ruff TRY401 (#114395)
* Enable ruff TRY401

* fix tests
2024-03-29 07:20:36 +01:00
Duco Sebel 788813aad6
Implement Identify button and Cloud connection toggle for HomeWizard Watermeter (#113814) 2024-03-26 10:34:36 +01:00
Duco Sebel 48553ece68
Remember entered IP when error happend while setting up HomeWizard (#113815) 2024-03-22 16:10:03 +01:00
Jan Bouwhuis ec7aecef84
Get HomeAssistantError message from translation cache only (#113688)
Get HomeAssistant error message from translation cache only
2024-03-18 14:39:41 +01:00
Marc Mueller 8809d3aa88
Add empty line after module docstring [g-i] (#112699) 2024-03-08 08:52:48 -05:00
Erik Montnemery e06446d0fa
Migrate integrations e-h to generic flowhandler (#111862) 2024-02-29 20:07:36 +01:00
Marc Mueller 20f455d39f
Update python-homewizard-energy to 4.3.1 (#111311) 2024-02-25 10:35:12 +01:00
Duco Sebel 41fdcce226
Bumb python-homewizard-energy to 4.3.0 (#109131) 2024-01-31 01:50:00 +01:00
Duco Sebel d631cad07f
Add new sensors exposed by HomeWizard kWh meter (#108850)
* Add new sensors exposed by kWh meter

* Add entity translation placeholders

* Fix Mypy issue

* Adjusts tests

* Remove suggested display precision for disabled-by-default sensors

* Update test-snapshots

* Update snapshots
2024-01-29 14:42:16 +01:00
Duco Sebel dbc568cd53
Simplify HomeWizard sensor names (#108854)
* Simplify HomeWizard sensor names

* Simplify translations even more by using default device_class names
2024-01-29 13:24:00 +01:00
Joost Lekkerkerker 57622acabf
Bump python-homewizard-energy to v4.2.2 (#109038) 2024-01-29 08:42:24 +01:00
Duco Sebel 1fa7ceede3
Use entity translations placeholders in HomeWizard (#108741)
* Adopt Entity placeholders

* Undo some snapshot changes
2024-01-25 13:15:20 +01:00
Duco Sebel 0c9a30ab69
Add support for externally connected utility devices in HomeWizard (#100684)
* Backport code from #86386

* Add tests

* Remove local dev change

* Implement device class validation based on unit

* Swap sensor and externalsensor classes (based on importance)

* Use translations for external sensor entities

* Re-add meter identifier as sensor for external devices

* Add migration for Gas identifier

* Rename HomeWizardExternalIdentifierSensorEntity class

* Fix all existing tests

* Reimplement tests for extenal devices with smapshots

* Remove non-used 'None' type in unit

* Add migration test

* Clean up parameterize

* Add test to fix last coverage issue

* Fix non-frozen mypy issue

* Set device name via added EntityDescription field

* Remove device key translations for external sensors,

* Bring back translation keys

* Set device unique_id as serial number

* Remove meter identifier sensor

* Simplify external device initialization

* Adjust tests

* Remove unused gas_meter_id migration

* Remove external_devices redaction

* Remove old gas meter id sensor after migration
2024-01-25 12:51:50 +01:00
Duco Sebel f7b0a15aa5
Bumb python-homewizard-energy to 4.2.1 (#108738) 2024-01-24 08:31:23 +01:00
Franck Nijhof e71efa0e2b
Add icon translations to HomeWizard Energy (#108506)
* Add icon translations to HomeWizard Energy

* Update snapshots
2024-01-20 14:14:48 -05:00
Ville Skyttä 24b1e01d71
Update Ruff to 0.1.8, avoid linter/formatter conflicts (#106080)
* Disable Ruff rules that may conflict with the formatter

* Upgrade Ruff to 0.1.8

- https://github.com/astral-sh/ruff/releases/tag/v0.1.7
- https://github.com/astral-sh/ruff/releases/tag/v0.1.8

* Format with Ruff 0.1.8
2023-12-20 23:55:09 +01:00
Erik Montnemery 0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Joost Lekkerkerker a82410d5e9
Deduplicate constants E-Z (#105657) 2023-12-13 17:05:37 +01:00
Joost Lekkerkerker ac53b78a0c
Deduplicate constants A-D (#105638) 2023-12-13 14:21:44 +01:00
Duco Sebel 156dac394a
Add migration for old HomeWizard sensors (#105251)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-12-08 09:39:39 +01:00
Duco Sebel f8c216a5ea
Use brightness scaling util in HomeWizard Number entity (#105147) 2023-12-07 09:37:20 +01:00