Commit graph

356 commits

Author SHA1 Message Date
Jan Bouwhuis
c57cc85174
Add note on overkiz measurement sensor fix (#105141) 2023-12-20 23:07:31 +01:00
Erik Montnemery
0c2485bc03
Freeze integration entity descriptions (#105984)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-12-18 16:28:13 -10:00
Mick Vleeshouwer
e40f486968
Disable scenarios (scenes) for local API in Overkiz (#105153) 2023-12-07 09:33:33 +01:00
Jan Bouwhuis
be44de0a41
Fix overkiz measurement sensor returns None if 0 (#105090) 2023-12-05 20:00:53 +01:00
Patrick Decat
8e42105b2d
Fix incompatible 'measurement' state and 'volume' device class warnings in Overkiz (#104896) 2023-12-04 09:45:59 +01:00
Aarni Koskela
706add4a57
Switch formatting from black to ruff-format (#102893)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-27 14:38:59 +01:00
dotvav
087efb7545
Add Hitachi air to air heat pumps to the Climate platform (#104517) 2023-11-26 17:55:48 +01:00
dotvav
a1701f0c56
Support HitachiAirToAirHeatPump (hlrrwifi:HLinkMainController) in Overkiz (#103803) 2023-11-24 15:00:36 +01:00
Joost Lekkerkerker
9278db7344
Rename variable in Overkiz config flow (#104377) 2023-11-22 18:31:18 +01:00
Joost Lekkerkerker
b5f8b35549
Remove Overkiz config flow constructor (#104375) 2023-11-22 17:54:10 +01:00
Mick Vleeshouwer
75f237b587
Add local API support to Overkiz integration (Somfy TaHoma Developer Mode) (#71644)
* Add initial config flow implementation

* Add initial config flow implementation

* Add todos

* Bugfixes

* Add first zeroconf code

* Fixes for new firmware

* Bugfixes for local integration

* Delete local token

* Fix diagnostics

* Update translations and improve code

* Update translations and improve code

* Add local integration updates

* Add local integration updates

* Small tweaks

* Add comments

* Bugfix

* Small code improvements

* Small code improvements

* Small code improvements

* Small code improvements

* Small code improvements

* Small code improvements

* Bugfixes

* Small code improvements

* Small code improvements

* Change Config Flow (breaking change)

* Remove token when integration is unloaded

* Remove print

* Simplify

* Bugfixes

* Improve configflow

* Clean up unnecessary things

* Catch nosuchtoken exception

* Add migration for Config Flow

* Add version 2 migration

* Revert change in Config Flow

* Fix api type

* Update strings

* Improve migrate entry

* Implement changes

* add more comments

* Extend diagnostics

* Ruff fixes

* Clean up code

* Bugfixes

* Set gateway id

* Start writing tests

* Add first local test

* Code coverage to 64%

* Fixes

* Remove local token on remove entry

* Add debug logging + change manifest

* Add developer mode check

* Fix not_such_token issue

* Small text changes

* Bugfix

* Fix tests

* Address feedback

* DRY

* Test coverage to 77%

* Coverage to 78%

* Remove token removal by UUID

* Add better retry methods

* Clean up

* Remove old data

* 87% coverage

* 90% code coverage

* 100% code coverage

* Use patch.multiple

* Improve tests

* Apply pre-commit after rebase

* Fix breaking changes in ZeroconfServiceInfo

* Add verify_ssl

* Fix test import

* Fix tests

* Catch SSL verify failed

* Revert hub to server rename

* Move Config Flow version back to 1

* Add diagnostics tests

* Fix tests

* Fix strings

* Implement feedback

* Add debug logging for local connection errors

* Simplify Config Flow and fix tests

* Simplify Config Flow

* Fix verify_ssl

* Fix rebase mistake

* Address feedback

* Apply suggestions from code review

* Update tests/components/overkiz/test_config_flow.py

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-22 16:53:17 +01:00
Mick Vleeshouwer
254d43dcf7
Support tilt commands for DynamicVenetianBlind in Overkiz (#104330) 2023-11-22 10:23:19 +01:00
Mick Vleeshouwer
6f82c2e230
Bump pyOverkiz to 1.13.3 (#104280) 2023-11-20 22:19:04 -08:00
Mick Vleeshouwer
818bc12f87
Bump pyOverkiz to 1.13.2 (#103790) 2023-11-13 15:41:06 +01:00
dotvav
3a531f5698
Add Hitachi Heat Pumps outdoor temperature sensors (#103806)
Add  OVP and HLRRWIFI outdoor temperature sensors
2023-11-12 19:50:18 +01:00
Marc Mueller
a70ec64408
Update mypy to 1.7.0 (#103800) 2023-11-11 23:31:04 +01:00
Mick Vleeshouwer
3697567f18
Remove redundant exception and catch NotSuchTokenException in Overkiz integration (#103584) 2023-11-08 12:32:37 +01:00
Mick Vleeshouwer
a11091890f
Support continue_on_error for command execution in Overkiz (#103591) 2023-11-08 00:02:34 +01:00
Mick Vleeshouwer
947ce592c1
Remove obstruction detected property for covers in Overkiz (#103597) 2023-11-07 23:50:22 +01:00
Lukáš Vasek
38acad8263
Add geofencing mode for Somfy Thermostat in Overkiz (#103160)
103136 Added geofencing mode for Overkiz thermostat
2023-11-07 13:14:30 +01:00
Mick Vleeshouwer
6c5ba53668
Bump pyOverkiz to 1.13.0 (#103582) 2023-11-07 13:12:26 +01:00
Mick Vleeshouwer
76b322c6b3
Retrieve manufacturer and configuration_url from client in Overkiz integration (#103585)
Retrieve manufacturer and configuration_url from client
2023-11-07 13:10:14 +01:00
Etienne G
b233d248ff
Add support for SomfyHeatingTemperatureInterface in Overkiz integration (#83514) 2023-11-07 12:48:41 +01:00
Christian Fetzer
2349e3ac1d
Add select for partial position (garage door) in Overkiz (#99500) 2023-11-07 12:15:25 +01:00
Mick Vleeshouwer
c76ce76824
Bump pyOverkiz to 1.12.1 in Overkiz integration (#101765) 2023-10-10 21:07:50 +02:00
Mick Vleeshouwer
60fa02c042
Bump pyOverkiz to 3.11 and migrate unique ids for select entries (#101024)
* Bump pyOverkiz and migrate entries

* Add comment

* Remove entities when duplicate

* Remove old entity

* Remove old entities

* Add example of entity migration

* Add support of UIWidget and UIClass

* Add tests for migrations

* Apply feedback (1)

* Apply feedback (2)
2023-10-10 17:23:58 +02:00
Jan Bouwhuis
8b7061b634
Short handed device class for overkiz cover (#100394) 2023-09-14 11:10:31 -05:00
Joost Lekkerkerker
eab76fc621
Revert "Bump pyoverkiz to 1.10.1 (#97916)" (#99742) 2023-09-06 17:16:40 +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
Mick Vleeshouwer
b317d36d0f
Bump pyoverkiz to 1.10.1 (#97916)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-08-07 12:32:59 +02:00
Matthieu Barthelemy
6adb06956b
Add overkiz battery sensor level medium (#97472) 2023-08-04 11:50:03 +02:00
Erik Montnemery
7539cf25be
Don't require passing identifiers to DeviceRegistry.async_get_device (#96479)
* Require keyword arguments to DeviceRegistry.async_get_device

* Update tests

* Update tests

* Don't enforce keyword arguments
2023-07-13 13:39:25 -04:00
Paulus Schoutsen
7859be6481
Add deduplicate translations script (#96384)
* Add deduplicate script

* Fix forecast_solar incorrect key with space

* Fix utf-8

* Do not create references to other arbitrary other integrations

* Add commented code to only allow applying to referencing integrations

* Tweak

* Bug fix

* Add command line arg for limit reference

* never suggest to update common keys

* Output of script

* Apply suggestions from code review

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>

---------

Co-authored-by: Michael <35783820+mib1185@users.noreply.github.com>
2023-07-13 11:52:50 -04:00
Joost Lekkerkerker
a04aaf10a5
Use DeviceInfo object d-o (#96280) 2023-07-11 19:41:55 +02:00
Jan Bouwhuis
c26dc0940c
Use common translations for On, Off, Open and Closed (#95779)
* Use common translations for On and Off

* Used common translations for open and closed

* Update homeassistant/components/sensibo/strings.json

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

* Only update state translations

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-07-04 13:52:01 +02:00
Mick Vleeshouwer
8b159d0f47
Fix missing EntityDescription names in Overkiz (#95583)
* Fix labels

* Update homeassistant/components/overkiz/entity.py

* Check if description.name is string

---------

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2023-06-30 23:59:01 -04:00
Mick Vleeshouwer
99a622c8ee
Bump pyoverkiz to 1.9.0 (#95400) 2023-06-27 20:25:31 +02:00
Mick Vleeshouwer
de1b5626e1
Set explicit None for entity name in Overkiz when using device name (#95238) 2023-06-26 18:11:57 +02:00
Franck Nijhof
7e5a9ea6c7
Fix HAVCAction typing in Overkiz (#94660) 2023-06-15 18:42:46 +02:00
Franck Nijhof
1d3a7512d8
Fix HAVCMode typing in Overkiz (#94632) 2023-06-15 14:06:06 +02:00
Mick Vleeshouwer
5a90d18041
Bump pyoverkiz to 1.8.0 (#94176) 2023-06-08 11:33:35 +02:00
Jerome Garec
7f3f2eea38
Add overkiz control for ATLANTIC_PASS_APC_HEATING_ZONE (#93712) 2023-05-29 20:42:46 +02:00
Mick Vleeshouwer
fa415480d6
Bump pyoverkiz to 1.7.9 (#93275)
Update PyOverkiz to v1.7.9
2023-05-20 12:52:43 +01:00
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
Mick Vleeshouwer
99ab7c5a37
Bump pyoverkiz to 1.7.8 (#92702) 2023-05-07 00:36:21 +02:00
Mick Vleeshouwer
0e0ab4427b
Revert "Add silent option for DynamicShutter (ogp:Shutter) in Overkiz" (#91354) 2023-04-29 18:34:21 +02:00
Mick Vleeshouwer
0442a189e9
Add silent option for DynamicShutter (ogp:Shutter) in Overkiz (#89164)
Add new switch
2023-03-14 00:42:12 +01:00
Mick Vleeshouwer
85618fd3cd
Bump overkiz dependency to 1.7.7 (#89163) 2023-03-05 12:54:39 +01:00
Thibaut
a5cf8210ae
Move Cycle command from cover to button (#89043)
Declare Cycle command as a button
2023-03-03 08:38:07 +01: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