Duco Sebel
97d38dae09
Bumb python-homewizard-energy to 4.1.0 ( #104121 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-17 13:01:44 +01:00
Franck Nijhof
b3ceb82700
Add device fixtures and tests for HomeWizard Energy 3-phase kWh meter ( #104118 )
2023-11-17 11:47:42 +01:00
Franck Nijhof
bb63da764e
Complete tests for HomeWizard kWh Meter SDM230 ( #103840 )
2023-11-12 14:30:00 +01:00
Franck Nijhof
5a452155fc
Small cleanup in HomeWizard tests ( #103837 )
2023-11-12 11:38:22 +01:00
Franck Nijhof
08b43c4477
Add device fixtures and tests for HomeWizard Energy Watersensor ( #103383 )
...
Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-11-06 18:12:58 +01:00
Franck Nijhof
07f03d9ec9
Set suggested display precision for HomeWizard Energy power sensors ( #103369 )
2023-11-04 15:40:50 +01:00
Franck Nijhof
109944e4ff
Replace/restructure HomeWizard device fixtures to reflect reality ( #103311 )
2023-11-04 13:37:08 +01:00
Duco Sebel
0f72495a7d
Rename power to energy in HomeWizard ( #102948 )
2023-10-30 19:09:23 +01:00
Franck Nijhof
487dcf227e
Rewrite HomeWizard Energy tests ( #103000 )
...
Co-authored-by: Duco Sebel <74970928+DCSBL@users.noreply.github.com>
2023-10-30 14:07:42 +01:00
Franck Nijhof
8e112c04fb
Improve diagnostic handling in HomeWizard Energy ( #102935 )
2023-10-27 23:27:17 +02:00
Franck Nijhof
100c3079ae
Hide mac address from HomeWizard Energy config entry/discovery titles ( #102931 )
2023-10-27 23:26:28 +02:00
J. Nick Koston
0eca433004
Update zeroconf discovery to use IPAddress objects to avoid conversions ( #100567 )
2023-09-19 18:58:46 +02:00
Joost Lekkerkerker
e9495c9cc6
Add entity translations for homewizard ( #95416 )
...
* Add entity translations for homewizard
* Add entity translations for homewizard
* Add entity translations for homewizard
* Fix tests
2023-06-28 14:02:54 +02:00
Duco Sebel
9092f6a60f
Handle UnsupportedError in HomeWizard ( #91608 )
...
* Handle UnsupportedEror
* Make error message more clear
* Remove debug line, whoops
2023-04-19 11:14:28 -04:00
Duco Sebel
8ca3440f33
Bump python-homewizard-energy to 2.0.1 ( #91097 )
2023-04-13 13:42:35 +02:00
epenet
9404a107b2
Add type hints to integration tests (part 10) ( #87985 )
2023-02-13 10:25:26 +01:00
epenet
37a2040d7b
Add type hints to integration tests (h-i) ( #87703 )
2023-02-08 18:12:56 +01:00
epenet
a79be493e5
Adjust hass_client type hint in integration tests ( #86954 )
...
* Adjust hass_client type hint in integration tests
* Adjust hass_client_no_auth
* Fix rebase
2023-02-02 16:29:57 -05:00
Franck Nijhof
e4a78420b8
Enable Ruff PT013 ( #86757 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-01-27 09:09:46 +01:00
Franck Nijhof
e50a531cd9
Code styling tweaks to the tests - Part 2 ( #86662 )
...
Co-authored-by: jjlawren <jjlawren@users.noreply.github.com>
2023-01-26 01:23:53 +01:00
Duco Sebel
bcec69fec1
Upgrade python-homewizard-energy to 1.7.0 ( #86383 )
2023-01-22 17:11:27 +01:00
Franck Nijhof
7e8c081065
Refactor HomeWizard switch platform to use entity descriptions ( #86011 )
2023-01-20 08:49:04 -05:00
Franck Nijhof
a9728bd3a5
Update python-homewizard-energy to 1.6.1 ( #86274 )
...
* Update python-homewizard-energy to 1.6.1
* Adjust tests
2023-01-20 08:48:48 -05:00
Franck Nijhof
c14aa7bee4
Automatically set up HomeWizard during onboarding ( #86024 )
...
* Automatically set up HomeWizard during onboarding
* Add disabled API during onboarding test
* Mark onboarding complete half way in the test
2023-01-20 08:48:36 -05:00
Duco Sebel
658db7ff05
Add sensors for smart and gas meter identifiers (serial numbers) in HomeWizard ( #86282 )
2023-01-20 13:42:01 +01:00
Duco Sebel
4be7b62607
Bumb python-homewizard-energy to 1.6.0 ( #86255 )
2023-01-19 21:33:58 -05:00
Franck Nijhof
6f44bd43b0
Clean up HomeWizard diagnostic tests ( #86211 )
2023-01-19 09:35:12 +01:00
Duco Sebel
0f3221eac7
Add Enum device class for HomeWizard active tariff ( #86078 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-01-17 14:46:08 +01:00
Franck Nijhof
c26d620ab1
Clean up unused import steps from HomeWizard config flow ( #86002 )
2023-01-16 12:24:23 +01:00
Franck Nijhof
11a81dc485
Improve typing of HomeWizard sensors ( #85997 )
...
* Improve typing of HomeWizard sensors
* Fix typo when tried to fix a typo :)
2023-01-16 11:22:46 +01:00
Duco Sebel
ccd8bc14e0
Add sensors for new P1 datapoints in HomeWizard ( #85198 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
fixes undefined
2023-01-16 09:59:07 +01:00
Franck Nijhof
91ac6400b9
Clean up legacy import from HomeWizard ( #85960 )
2023-01-15 20:14:19 +02:00
Duco Sebel
209c47383d
Implement state error handling in HomeWizard ( #84991 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-01-15 17:30:27 +01:00
Michael
e35ab75c0b
Replace the usage of unit constants by enumerations in Tests [h-l] ( #85934 )
2023-01-15 14:52:55 +01:00
Duco Sebel
ab6535382d
Bumb python-homewizard-energy to 1.4.0 ( #85114 )
2023-01-05 11:35:59 +01:00
Duco Sebel
d8cbff65f1
Fix code quality issues for HomeWizard ( #84134 )
...
* Remove unused constant
* Reuse fetch check for retrieving device information
* Remove else block
* Patch integration setup in test
* use isinstance to detect return type, instead of tuple
* Raise exception when recoverable error has been triggered to make code cleaner
* Use error code to split message and localization
* Actually log things
2022-12-29 10:35:24 -08:00
Duco Sebel
b41d0be952
Improve HomeWizard request issue reporting ( #82366 )
...
* Trigger reauth flow when HomeWizard API was disabled
* Add tests for reauth flow
* Fix typo in test
* Add parallel updates constant
* Improve error message when device in unreachable during config
* Set quality scale
* Remove quality scale
* Throw error instead of abort when setup fails
* Adjust test for new setup behaviour
* Trigger reauth flow when API is disabled and continue retrying
* Reload entry and raise AuthFailed during init
* Abort running config flow
* Listen for coordinator updates to trigger reload
* Use build-in backoff system
* Fix failing test
* Test reauth flow is active after disable-api init
* Test reauth flow removal
2022-12-16 10:53:54 -05:00
Duco Sebel
c2d372dd13
Fix HomeWizard code quality issues ( #82973 )
...
* Sort platforms a-z
* Collect all switch entities and load in a single call
* Add test for button press
2022-11-30 10:28:28 +01:00
Duco Sebel
367b5e586b
Add support for HomeWizard identify feature ( #82375 )
...
* Add support for Identify feature
* Add tests for button
* Use only identifiers for device_info
* Update homeassistant/components/homewizard/button.py
2022-11-27 20:48:35 -05:00
Duco Sebel
27bd1520e8
Add support for HomeWizard enable/disable cloud feature ( #82573 )
2022-11-27 14:26:15 -05:00
Duco Sebel
a969f69fd5
Add support for controlling HomeWizard Energy Socket status light level ( #82378 )
...
* Add control option for Energy Socket status LED
* Add tests for number
* Fix failing tests in switch
* Fix comments
* Adjust name
* Simplify device_info
2022-11-23 11:47:32 -05:00
Franck Nijhof
5b32540a84
Set water device class to flo, homewizard, p1_monitor, toon ( #80944 )
2022-10-25 13:21:47 +02:00
epenet
fb7079c62c
Adjust icons with new device classes ( #79348 )
...
* Adjust icons with new device classes
* Fix mysensors tests
* Fix mysensors tests
2022-09-30 10:41:18 +02:00
Duco Sebel
aa6f15b1e2
Use SensorDeviceClass.VOLUME in HomeWizard ( #79323 )
...
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-09-29 21:51:18 -04:00
epenet
fe747601ff
Cleanup DeviceClass and StateClass in tests ( #78811 )
2022-09-20 10:49:11 -04:00
Duco Sebel
5fdae0fc5b
Migrate HomeWizard to new entity naming style ( #74958 )
2022-07-12 15:56:16 +02:00
Duco Sebel
124c8e8f73
Add sensors for HomeWizard Watermeter ( #74756 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-09 18:39:30 +02:00
Franck Nijhof
a6244eea28
Search/replace RESULT_TYPE_* by FlowResultType enum ( #74656 )
2022-07-07 21:28:18 +02:00
Duco Sebel
db5e94c93b
Fix HomeWizard is not catching RequestError ( #73719 )
...
* Fix RequestError was not catched
* Add test for RequestError
2022-06-20 10:30:57 +02:00
Duco Sebel
59f155b482
Fix homewizard diagnostics and add tests ( #72611 )
2022-05-30 14:37:28 -07:00