Commit graph

24 commits

Author SHA1 Message Date
Mick Vleeshouwer
4a2af45e37
Change IO_OUTLET_ENGINE sensor from Liter to Cubic Meters Per Hour in Overkiz (#92704) 2023-05-07 00:44:26 +02:00
Thibaut
0c66346fb0
Add dynamic unit of measurement support for Overkiz sensor (#80490)
* Add dynamic unit support

* Import all units

* Fix typing

* Add fallback to CORE_ELECTRIC_POWER_CONSUMPTION_STATE_MEASURED_VALUE_TYPE

* Fix rebase

* Give priority to the more accurate attribute

* Don’t use hardcoded seconds unit

* Don’t change SensorDescription

* Rework comment
2023-03-01 13:46:26 +01: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
Franck Nijhof
3d557b5583
Collection of code styling tweaks (#87381) 2023-02-04 12:52:26 -05:00
Mick Vleeshouwer
98a79dd5a2
Fix ThreeWayHandle sensor in Overkiz integration (#86953)
Fix typo in sensor.py

Fixes https://github.com/home-assistant/core/issues/85913
2023-01-30 17:15:53 +02:00
epenet
2f45e6c2ae
Use UnitOfVolumeFlowRate in integrations (#84348) 2022-12-21 11:00:24 +01:00
epenet
5c700916d3
Use unit enums in overkiz (#83660) 2022-12-10 00:08:03 +01:00
Franck Nijhof
30db947d99
Use enum sensor device class in Overkiz (#83342) 2022-12-06 00:36:57 +01:00
epenet
fab3ee90b2
Use SensorDeviceClass.VOLUME in components (#79253) 2022-09-29 09:38:06 +02:00
Mick Vleeshouwer
c6fd2bde46
Migrate Overkiz to new entity naming style (#76687) 2022-09-25 21:59:18 -04:00
Mick Vleeshouwer
9a6b22a156
Address late review in Overkiz (add duration device class) (#77778)
Address follow-up review in Overkiz (duration device class)
2022-09-04 12:01:17 +02:00
Mick Vleeshouwer
cd24223c1f
Enhance operating time sensor in Overkiz integration (#76688) 2022-09-03 16:18:56 -04:00
Mick Vleeshouwer
28cc0b9fb2
Expose ThreeWayWindowHandle direction as sensor in Overkiz integration (#73784)
* Expose ThreeWayWindowHandle direction as sensor

* Compile translations
2022-06-21 17:31:26 +02:00
Mick Vleeshouwer
30528e0de0
Add extra entity descriptions to Overkiz integration (#66093) 2022-02-15 14:24:33 -06:00
Mick Vleeshouwer
ccf018a5fc
Fix battery sensor in Overkiz integration (#64980) 2022-01-26 10:31:17 -06:00
Mick Vleeshouwer
b9cfaae3de
Refactor some sensors and add translations to Overkiz (#64108) 2022-01-17 10:47:42 -10:00
Mick Vleeshouwer
05c177e3ed
Address late feedback to Overkiz (move to constants) (#64324) 2022-01-17 10:25:24 -10:00
Mick Vleeshouwer
1cf2f0b944
Simplify coordinator and import OverkizStateType (#63969) 2022-01-13 02:23:20 +01:00
Mick Vleeshouwer
b4187540c0
Improve typing for Overkiz integration and address late feedback (#63483)
* Bump pyoverkiz to 1.0.2

* Remove cast for str enum.

* Address feedback on coordinator

* Change datatype to Callable

* Address feedback

* Move scenarios to seperate list

* Cast Device to avoid issues with DataUpdateCoordinator default

* Remove unnecessary casts and improve type notation

* Check if state.value exists

* Fix last mypy error (thanks @epenet)

* Remove extra string cast

* Improve sensor typing

* Update pyoverkiz and remove typing

* Small code improvement

* Fix assert to reflect real world

* Properly type Callable to not return Any

* Remove unnecessary cast

* Add OverkizStateType

* Bugfix

* Address feedback - multiline lambda

* Pylint fix

* Remove added binary sensor
2022-01-08 10:53:15 +01:00
Mick Vleeshouwer
4eb077b6b4
Enable strict typing for Overkiz integration (#63108) 2021-12-31 07:35:15 -10:00
Mick Vleeshouwer
8599ddf51e
Address feedback to Overkiz integration (round 2) (#63036)
* Address feedback in multiple files

* Add missing return statement

* Improve sensor descriptions

* Improve typing

* Move to new device registry

* Disable RSSI sensor by default

* Improve typing
2021-12-30 15:22:35 +01:00
Mick Vleeshouwer
089dcb2b22
Address feedback to Overkiz integration (#62841) 2021-12-27 18:26:55 +01:00
Mick Vleeshouwer
f722931920
Add lock entity to Overkiz integration (#62713) 2021-12-23 13:28:01 -10:00
Mick Vleeshouwer
3605c4f32f
Add Overkiz integration (with base + sensor entity) (#62640) 2021-12-23 08:34:35 -10:00