Commit graph

31 commits

Author SHA1 Message Date
Franck Nijhof
fbd6e9f498
Extend Plugwise climate support () 2022-02-10 20:53:14 +01:00
Franck Nijhof
b8253b1b47
Plugwise HVAC/Preset mode fixes () 2022-02-10 18:10:21 +01:00
Franck Nijhof
f5829173db
More cleanup in Plugwise climate () 2022-02-10 17:13:22 +01:00
Franck Nijhof
b3814aa4e6
Refactor Plugwise command handling () 2022-02-10 09:53:26 +01:00
Franck Nijhof
d34c289691
Clean up unneeded preset variable in Plugwise climate () 2022-02-09 10:23:39 +01:00
Franck Nijhof
dad1dbeb6e
Cleanup hass.data in Plugwise () 2022-02-08 21:17:49 +02:00
Franck Nijhof
41a4d40b71
Reuse existing coordinator entity update in Plugwise platforms ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-02-08 19:54:10 +01:00
Franck Nijhof
4efebcb86c
Use upstream device information for Plugwise () 2022-02-08 19:08:01 +01:00
Franck Nijhof
d12a392767
Update plugwise 0.16.2 () 2022-02-08 11:13:05 +01:00
Franck Nijhof
34a636ef0b
Extract Plugwise DataUpdateCoordinator into module () 2022-02-06 19:03:50 +02:00
Franck Nijhof
131dbd6c8e
Move Plugwise logger into constants () 2022-02-06 01:43:05 +02:00
Franck Nijhof
a6e36a6eb9
Simplify unique ID handling in Plugwise () 2022-02-05 23:59:37 +01:00
Franck Nijhof
87049283c1
Extract base entity class in Plugwise () 2022-02-05 19:09:37 +01:00
Franck Nijhof
00e8d2bc3d
Small cleanup in Plugwise climate () 2022-02-05 17:09:49 +01:00
epenet
6f4b25950c
Add climate setup type hints [m-z] ()
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-01-03 13:09:43 +01:00
Erik Montnemery
14ff6d4d1f
Update integrations p-s to override extra_state_attributes() () 2021-03-11 21:23:20 +01:00
Tom
db60a71603
Change Plugwise integration to plugwise module ()
* 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
368bc0c34b
Fix Plugwise hvac action and mode () 2020-10-15 16:59:02 +02:00
Tom
b8f291d58e
Prepare Plugwise integration for USB products ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-10-07 22:25:42 +02:00
Bouwe Westerdijk
61e8ab1300
Add Plugwise scan_interval config option ()
Co-authored-by: Tom Scholten <tom@sue.nl>
Co-authored-by: Tom Scholten <git@scholten.nu>
2020-09-06 15:26:14 -05:00
Tom
29df13abe9
Fix Plugwise schema name display and non_device_class icons ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Bouwe Westerdijk <11290930+bouwew@users.noreply.github.com>
2020-06-16 14:49:13 +02:00
Tom
48d1bc7c13
Cleanup and improve Plugwise merges ()
* Remove period from logging messages

* Save indentation using guard clauses

* Typo

* Walk other files

* Rewalk all files

* Not cleanup, but adding indicatd missing measurements

* Revert new sensors
2020-06-04 08:18:46 +02:00
Tom
d0fedad000
Update plugwise to async and config_flow sensor part ()
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-06-01 14:01:17 +02:00
Tom
7e693afcf3
Update plugwise to async and config_flow ()
* Update plugwise async, config_flow and multi entity

* Update battery percentage

* Fix yamllint on services

* Fix yamllint on services

* Fix formatting for pyupgrade

* Update homeassistant/components/plugwise/__init__.py

Co-Authored-By: Robert Svensson <Kane610@users.noreply.github.com>

* Add try/except on setup

* Bump module version, battery version and valve position

* Removing sensor, switch, water_heater for later (child) PRs

* Catchup and version bump

* Remove title from strings.json

* Readd already reviewd await try/except

* Readd already reviewed config_flow

* Fix pylint

* Fix per 0.109 translations

* Remove unused import from merge

* Update plugwise async, config_flow and multi entity

* Update battery percentage

* Fix yamllint on services

* Fix yamllint on services

* Bump module version

* Bump module version, battery version and valve position

* Removing sensor, switch, water_heater for later (child) PRs

* Catchup and version bump

* Remove title from strings.json

* Fix pylint

* Fix per 0.109 translations

* Translations and config_flow, module version bump with required changes

* Translations and config_flow, module version bump with required changes

* Fix requirements

* Fix requirements

* Fix pylint

* Fix pylint

* Update homeassistant/components/plugwise/__init__.py

Improvement

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/plugwise/__init__.py

Improvement

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/plugwise/__init__.py

Improvement

Co-authored-by: J. Nick Koston <nick@koston.org>

* Include configentrynotready on import

* Update __init__.py

* DataUpdateCoordinator and comment non-PR-platforms

* Fix reqs

* Rename devices variable in favor of entities

* Rework updates with DataUpdateCoordinator

* Peer review

* Peer review second part

* Cleanup comments and redundant code

* Added required config_flow test

* Peer review third part

* Update service was replaced by DataUpdateCoordinator

* Corrected testing, version bump for InvalidAuth, move uniq_id

* Remove according to review

* Await connect (py38)

* Remove unneccesary code

* Show only when multiple

* Improve config_flow, rename consts

* Update homeassistant/components/plugwise/climate.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/plugwise/climate.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Process review comments

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2020-05-28 10:52:25 -05:00
Erik Montnemery
29bc93ea98
Rename ClimateDevice to ClimateEntity () 2020-04-25 18:04:03 +02:00
Franck Nijhof
886308a953
String formatting improvements () 2020-04-04 21:39:22 +02:00
Bouwe Westerdijk
61a8618010
Fix Plugwise climate issues ()
* Fix Plugwise climate issues

* Remove showing None-state for available_schemas, as requested by reviewer.
2020-01-29 08:57:25 +01:00
Ville Skyttä
5216477353
Be consistent with Home Assistant and Hass.io spelling ()
* Be consistent with Home Assistant spelling

* Be consistent with Hass.io spelling
2020-01-05 14:09:17 +02:00
Bas Nijholt
21816eeed4 Sort imports according to PEP8 for components starting with "P" () 2019-12-09 14:29:39 +01:00
Bouwe Westerdijk
fb0e20543e Update Plugwise ()
* Plugwise update

* Fix DEFAULT_NAME

* Fix pylint errors

* Remove showing of DHW-status

* Remove `if not None` where possible

* Forgot to remove dhw-related code

* Updated w.r.t. comments from MartinHjelmare

* Remove the illuminance attribute - move to sensor

* Update homeassistant/components/plugwise/climate.py

Co-Authored-By: Martin Hjelmare <marhje52@kth.se>

* Breaking lines

* Remove thermostat_temperature

* Try fix lint errors.

* Remove spaces

* Remove more spaces
2019-11-05 02:58:17 +01:00
Tom
9f3e388b04 Add Plugwise component ()
* Added Plugwise component

* pylint fixes

* Additional pylints (local tox not noticing these)

* Changes according to review

* CI flake8 correction

* Applying Black

* Review changes, without exception and schema

* Review changes, exception improvement

* Review changes, exception correctio and schema cleanup

* Further cleaning as per review

* Removed blank line

* Add debugging to API init

* Add debugging to API init without dot
2019-08-01 22:22:57 +02:00