Commit graph

218 commits

Author SHA1 Message Date
Christopher Fenner
ea61160fd8
Reuse function to check feature support on ViCare devices (#102211)
* check feature support in utils function

* rename parameters

* restore severity

* reorder parameters

* Update .coveragerc
2023-10-19 10:55:30 +02:00
Christopher Fenner
eee294d384
Get diagnostics of all devices in ViCare account (#102218)
* get diagnostics of all devices

* correct test data

* correct test data

* correct test data
2023-10-18 18:07:42 +02:00
Christopher Fenner
b8904fa173
Update device class, icons and names of Vicare binary sensors (#101476)
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-16 13:43:01 +02:00
Christopher Fenner
ae7bb60677
Fix types in ViCare integration (#101926)
* fix type

* fix return type

* fix type

* fix type

* Apply suggestions from code review

* Update climate.py

* Apply suggestions from code review

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

* Update __init__.py

* Update climate.py

* Update __init__.py

* Apply suggestions from code review

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

* Update binary_sensor.py

* Update button.py

* Update sensor.py

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-13 23:13:39 +02:00
Christopher Fenner
6d2fbeb556
Migrate ViCare to has_entity_name (#101895)
* set has_entity_name

* remove sensor prefix

* Apply suggestions from code review

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-10-12 21:06:09 +02:00
Christopher Fenner
5c52a15df7
Fix type issue in vicare integration (#101872)
* fix type issue

* fix type issue

* fix type issue

* extract from constructor

* Revert "extract from constructor"

This reverts commit a33de7ca8e.
2023-10-12 15:01:23 +02:00
Christopher Fenner
6e1c23906c
Add base entity class in vicare integration (#101870)
* add entity base class

* depend on base class

* add device info to base class

* remove individual DeviceInfo

* move class

* fix imports

* add file comment

* use super()

* fix formatting

* add vicare/entity.py
2023-10-12 14:54:16 +02:00
Joost Lekkerkerker
eeaca8ae3c
Use shorthand attributes in Vicare (#99915) 2023-09-09 23:18:41 +02:00
andresb5555
384cee481a
Add vicare sensor gas_summary_consumption_heating_lastsevendays (#95280)
* Add missing sensor entity gas_summary_consumption_heating_lastsevendays

* Changed location of the sensor
gas_summary_consumption_heating_lastsevendays code as per suggestion by
joostlek
2023-08-19 21:38:03 +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
Christopher Fenner
e68832a889
Fix Vicare cleanup token file on uninstall (#95992) 2023-07-22 17:23:01 +02:00
Franck Nijhof
4edec69637
Migrate integration services (T-V) to support translations (#96379) 2023-07-12 07:37:13 +02:00
Hans Oischinger
21a873f0af
Remove myself from vicare codeowners (#90755) 2023-04-05 08:29:57 +02:00
Hans Oischinger
b3887a633d
Bump PyVicare to 2.25.0 (#90536) 2023-03-31 09:44:30 +02:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const (#87792)
* Move EntityCategory to homeassistant.const

* Fix more imports
2023-02-09 20:15:37 +01:00
Erik Montnemery
6c2702a7b8
Sort manifests 11 (#87032) 2023-02-08 20:10:18 +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
epenet
bb3e0633a4
Add init return type to integrations (#87523)
Add type hints to integrations
2023-02-06 11:37:25 +01:00
epenet
8e7e210693
Fix invalid constant in vicare (#86079) 2023-01-17 12:29:32 +01:00
Hans Oischinger
1e9de194d3
Add vicare buffer top/main temperature sensors (#79466)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
fixes undefined
2023-01-17 11:34:38 +01:00
GitHub Action
b81453cb6b [ci skip] Translation update 2023-01-16 00:24:22 +00:00
Hans Oischinger
235a34c10c
Catch vicare errors when deactivating preset fails (#84778)
vicare: catch errors when deactivating preset fails
2022-12-29 15:28:33 +01:00
Hans Oischinger
c354868270
water_heater: Add unsupported states (#84720) 2022-12-28 21:45:24 +01:00
Hans Oischinger
f65e18c019
Bump PyVicare to 2.21.0 (#83770) 2022-12-12 11:57:44 +01:00
Hans Oischinger
5fa9da25f2
Rename "Power production this week" vicare sensor (#83771)
vicare: Rename "Power production this week" sensor

'Power' should be 'Energy' like for the other timespanns.
This one was forgotten last time this area was cleaned up.
2022-12-11 18:53:05 +01:00
epenet
c947152c48
Use unit enums in vicare (#83648) 2022-12-10 11:06:46 +01:00
epenet
63e8dd58ef
Use UnitOfTemperature in water_heater entities (#83132) 2022-12-05 11:42:15 +01:00
epenet
c7a6b5983f
Use UnitOfTemperature in climate entities [t-z] (#83129) 2022-12-05 10:18:57 +01:00
GitHub Action
03154e1d83 [ci skip] Translation update 2022-12-03 00:21:50 +00:00
GitHub Action
0d1f476bee [ci skip] Translation update 2022-12-01 00:33:36 +00:00
GitHub Action
230b50d099 [ci skip] Translation update 2022-11-29 00:26:01 +00:00
GitHub Action
b65d8cc1b3 [ci skip] Translation update 2022-11-28 00:23:09 +00:00
GitHub Action
3bea04e387 [ci skip] Translation update 2022-11-21 00:26:41 +00:00
TheJulianJES
ea0c3e806d
Bump PyViCare to 2.19.0 (#82381)
fixes undefined
2022-11-20 08:13:19 -06:00
GitHub Action
fe5246fb6f [ci skip] Translation update 2022-11-19 00:26:11 +00:00
GitHub Action
388328adba [ci skip] Translation update 2022-10-17 00:36:39 +00:00
GitHub Action
8d28da83ca [ci skip] Translation update 2022-10-05 00:36:50 +00:00
Hans Oischinger
125c037def
Address late review of ViCare (#79458)
Runn blocking I/O of button entity creation in async_add_executor_job
2022-10-03 11:10:25 +02:00
Hans Oischinger
35fa73eee9
vicare: Don't create unsupportedd button entites (#79425)
Button entities should only be offered when the datapoint exists on
the API.
2022-10-01 22:17:25 +03:00
Hans Oischinger
94c825cf4f
vicare: Add additional temperature sensors (#79426)
Add additional temperature sensors

New datapoints in PyVicare API
2022-10-01 20:58:57 +02:00
TheJulianJES
b5935e5a4f
Bump PyViCare==2.17.0 (#78232) 2022-09-13 13:01:13 +02:00
epenet
6affd9c6fb
Import climate constants from root [m-z] (#78178) 2022-09-10 23:42:28 +02:00
epenet
050cb275ff
Improve entity type hints [v] (#77885) 2022-09-06 13:59:05 +02:00
epenet
e19e65908a
Use _attr_precision in entities (#77477) 2022-08-29 22:02:29 +02:00
epenet
0c401bcab2
Use _attr_temperature_unit in climate entities (#77472) 2022-08-29 10:20:55 +02: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
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
405d323709 [ci skip] Translation update 2022-07-08 00:27:47 +00:00