Commit Graph

54 Commits (85fdc562400211bbaab07233bd5e9a7c496ddb44)

Author SHA1 Message Date
Bouwe Westerdijk e17a653cf0
Bump plugwise to v0.18.4 (#72263) 2022-05-23 10:59:10 +02:00
Bouwe Westerdijk 5a7624bfd4
Bump plugwise to v0.18.2 (#71731) 2022-05-12 15:19:50 +02:00
Franck Nijhof ef16e6c129
Fix Plugwise recovering from aiohttp client error (#71642) 2022-05-10 15:28:44 +02:00
epenet 896b616687
Use climate enums in plugwise (#70729) 2022-04-26 09:03:23 +02:00
Franck Nijhof 7003862bd8
Fix Plugwise to not use invalid discovery data (#70366) 2022-04-21 16:06:22 +03:00
Bouwe Westerdijk 9902ecb417
Remove use of HVAC_MODE_OFF in plugwise climate, it's not implemented (#69094) 2022-04-01 20:53:09 +02:00
Tom 3590467ce6
Update plugwise module to 0.17.2 (#68908) 2022-03-30 19:37:05 +02:00
Tom 4d607b2eb5
Update plugwise module to 0.16.9 (#68255)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-30 17:12:20 +02:00
epenet 053c4428a9
Prettify json (component test fixtures) (#68892) 2022-03-30 11:37:17 +02:00
Franck Nijhof d645e80ccd
Clean up async_update_entity helper usage (#68641) 2022-03-25 15:22:58 -07:00
Tom 66f506557f
Prevent adding plugwise products used as secondary controllers (#68098)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-03-15 08:53:53 +01:00
Tom b138a759b6
Update plugwise module to 0.16.8 (#68082) 2022-03-13 19:37:59 +01:00
Tom 620b653d76
Plugwise bump module version to fix heating-state and OnOff devices (#66936) 2022-02-20 20:45:19 +01:00
Tom dacc2b1ab0
Plugwise update Zigbee addressing fixture data to 64bits (#66761) 2022-02-17 20:58:06 +01:00
Tom f8d38a1025
Plugwise: Update fixtures (#66749) 2022-02-17 17:03:18 +01:00
Franck Nijhof de24d00a1c
Use min/max/step from thermostat in Plugwise (#66618) 2022-02-17 14:11:47 +01:00
Franck Nijhof 4051e2f518
Fix Plugwise auto HVAC mode (#66639)
* Fix Plugwise auto hvac mode

* Clean up set HVAC
2022-02-16 13:22:21 +01:00
Joshua Roys 9134e5c844
Get discovered zeroconf IPv6 addresses (#65462) 2022-02-11 16:46:17 -06:00
Franck Nijhof 11a13aa0b8
Add heating and cooling binary sensors to Plugwise (#66317) 2022-02-11 13:36:27 +01:00
Franck Nijhof bd920aa43d
Cleanup existing Plugwise tests and test fixtures (#66282)
* Cleanup existing Plugwise tests and test fixtures

* More cleanup
2022-02-10 20:41:30 +01:00
Franck Nijhof b8253b1b47
Plugwise HVAC/Preset mode fixes (#66273) 2022-02-10 18:10:21 +01:00
Franck Nijhof 8760cb035a
More cleanup in Plugwise switch (#66254) 2022-02-10 10:17:37 +01:00
Franck Nijhof b3814aa4e6
Refactor Plugwise command handling (#66202) 2022-02-10 09:53:26 +01:00
Franck Nijhof aa95150360
Add entity descriptions to Plugwise switch platform (#66174) 2022-02-09 17:56:07 +01:00
Franck Nijhof 4efebcb86c
Use upstream device information for Plugwise (#66074) 2022-02-08 19:08:01 +01:00
Franck Nijhof 1fc717ed1c
Add diagnostics support to Plugwise (#65982) 2022-02-08 12:43:45 +01:00
Franck Nijhof d12a392767
Update plugwise 0.16.2 (#65933) 2022-02-08 11:13:05 +01:00
Franck Nijhof 62a314015c
BinarySensorEntityDescriptions for Plugwise (#65887) 2022-02-06 17:25:55 +01:00
Franck Nijhof b0bb2d2453
Cleanup Plugwise config flow and tests (#65818) 2022-02-05 19:07:02 +01:00
Franck Nijhof 5c6d019d6b
Remove options flow from Plugwise (#65808) 2022-02-05 16:46:50 +01:00
epenet 77dfeb062f
Update ZeroconfServiceInfo in tests (n-t) (#60219)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-23 10:35:44 -06:00
epenet 10d0870198
Use ZeroconfServiceInfo in plugwise (#60050) 2021-11-22 12:35:52 +01:00
Paulus Schoutsen 31153ac155
Move fixtures part 1 (#58902) 2021-11-01 20:47:05 -07:00
Franck Nijhof 9daf2ee65d
Fix Plugwise not updating config entry with discovery information (#58819) 2021-10-31 12:19:51 -07:00
Ville Skyttä 380cff167e
Use HTTPStatus in components/[nop]* (#58279) 2021-10-23 20:56:30 +02:00
Paulus Schoutsen a4d9019ffc
Refactor persistent notification to no longer route all data via a service (#57157)
* Convert persistent notification tests to async

* Create/dismiss persistent notifications in exposed functions, not service calls

* Fix notify persistent_notification

* Remove setting up persistent_notification

* Drop more setups

* Empty methods

* Undeprecate sync methods because too big task

* Fix setup clearing notifications

* Fix a bunch of tests

* Fix more tests

* Uno mas

* Test persistent notification events

* Clean up stale comment

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-10-07 12:58:00 +02:00
Bouwe Westerdijk 669883d416
Update Plugwise Config Flow (#47563)
Co-authored-by: Tom Scholten <git@scholten.nu>
2021-07-16 06:46:23 -10:00
Ville Skyttä 19d25cd901
Change config entry state to an enum (#49654)
* Change config entry state to an enum

* Allow but deprecate EntryState str equality comparison

* Test fixes

* Rename to ConfigEntryState

* Remove str comparability backcompat

* Update new occurrences of strs cropped up during review
2021-05-20 19:19:20 +02:00
Franck Nijhof 969c147b77
Clean up superfluous integration setup - part 4 (#49295)
* Clean up superfluous integration setup - part 4

* Adjust tests
2021-04-16 17:46:49 +02:00
Bouwe Westerdijk cb3b37a87a
Correct Plugwise sensor scaling (#44344)
* Remove sensor-scaling, handled by the back-end

* Correct assert-values

* Update test-fixtures

* Revert "Correct assert-values"

This reverts commit f1a1891f73.

* Adapt value to the updated userdata set

* Link to plugwise v0.8.5, update fixtures

* Correct test-values

* Fix typo
2021-01-08 02:44:00 +01:00
Franck Nijhof 65cf2fcb6f
Drop asynctest (#44746) 2021-01-01 22:31:56 +01:00
Tom db60a71603
Change Plugwise integration to plugwise module (#43036)
* Switch to plugwise module and forthcoming changes

* Adjusted according to review

* Fix leaving out domain for tests

* Add tests for exceptions

* Add more tests for exceptions

* Version bump

* Wording on test

* Catch-up with dev
2020-11-20 20:43:20 -06:00
Tom ed36cb7beb
Add notification binary_sensor to Plugwise integration (#41473)
* Notifications extract from beta

* Remove info loggings

* Delete notification service

* Only notifications for right smiles

* Revert to correct logic

* Catchup with dev (mostly with ourselves from #41201)

* Remove debug logging

* Naming improvement

* Improve test quality as per codecov patch requirement

* Revert to original condition (and appropriately test)

* Fix delete_notification_service, bring tests fixtures up to 1.6.0 including notifications

* Review comment (@bouwew)

* Correct test value

* Re-apply #40108 fix after rebase sidestep

* Update tests/components/plugwise/test_init.py

Co-authored-by: Chris Talkington <chris@talkingtontech.com>

* Add needed state to imports

* Remove separate gw unload code

* Change entry_fail approach

* Revert persistent notification part

* Revert persistent notification part - lint

* Update homeassistant/components/plugwise/binary_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update homeassistant/components/plugwise/binary_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Rework reuse of sensor in binary_sensor

* Explicit state attribute keys

* Remove tempfile

* List of notifications per severity

* Update homeassistant/components/plugwise/binary_sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

Co-authored-by: Chris Talkington <chris@talkingtontech.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-11-16 19:54:44 -06:00
Tom 877bfcb308
Add support for Stretch product to Plugwise integration (#40108)
* Initial switch-group/stretch with failing wk_lisa_battery test

* Adding switch tests, but TypeErrors, needs more investigation

* Fixes and tests aligned

* Review updates

* Use const

* Comments

* Add stretch hostname for testing part

* Remove unused consts

* Revert guardings in line with -beta

* Catchup with dev (mostly with ourselves from #41201)

* Update docstring

* Remove debug logging

* Fix for #42725 (incorrect entity namingi)

* Fix naming for gas interval

* Add missing CONF_USERNAME and use of it

* Change "dummy" to "class"

* Don't use "class"

* Fix CONF_USERNAME default, dummy and other consts

Co-authored-by: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
2020-11-08 11:09:43 -06:00
Tom 368bc0c34b
Fix Plugwise hvac action and mode (#41550) 2020-10-15 16:59:02 +02:00
Tom b8f291d58e
Prepare Plugwise integration for USB products (#41201)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-07 22:25:42 +02:00
Tom 5832184304
Add port to plugwise (#40017) 2020-09-19 12:08:16 +02:00
Bouwe Westerdijk eac9c3c4f2
Ensure Plugwise unique_id is correctly set (#40014)
* Ensure unique_id is correctly set

* Removed unnec. line

Co-authored-by: Tom Scholten <git@scholten.nu>
2020-09-13 11:02:49 +02:00
Tom bb9ea7ce6e
Add tests for Plugwise integration (#36371) 2020-09-08 08:37:44 +02:00
Tom f6aa3e0cdc
Improve Plugwise config_options testing (#39736) 2020-09-07 14:13:47 +02:00