Commit Graph

69034 Commits (2d2e215e2ca7229643dc62bd31d082c4846367de)

Author SHA1 Message Date
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
Florian 01c49ba0e4
Add recording status for Philips TV (#94691) 2023-11-22 14:24:49 +00:00
Marc Mueller 1f3f073df9
Fix idasen_desk coordinator typing (#104361) 2023-11-22 14:08:22 +01:00
Malene Trab 60dcd24bf9
Remove MTrab from Repetier CodeOwners (#104356)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2023-11-22 13:32:36 +01:00
Bouwe Westerdijk 0996c82c02
Plugwise: limit _attr_max_temp to 35.0 for thermostats that report a max of 100. (#104324) 2023-11-22 13:20:33 +01:00
Klaas Schoute 02e09ed4cc
Update odp-amsterdam lib to v6.0.0 (#104339) 2023-11-22 10:24:10 +01:00
Mick Vleeshouwer 254d43dcf7
Support tilt commands for DynamicVenetianBlind in Overkiz (#104330) 2023-11-22 10:23:19 +01:00
Franck Nijhof 4f94649ee2
Update sentry-sdk to 1.36.0 (#104317) 2023-11-22 10:14:46 +01:00
IceBotYT cbb5d7ea39
Add Linear Garage Door integration (#91436)
* Add Linear Garage Door integration

* Add Linear Garage Door integration

* Remove light platform

* Add tests for diagnostics

* Changes suggested by Lash

* Minor refactoring

* Various improvements

* Catch up to dev, various fixes

* Fix DeviceInfo import

* Use the HA dt_util

* Update tests/components/linear_garage_door/test_cover.py

* Apply suggestions from code review

---------

Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-22 09:35:31 +01:00
starkillerOG 6c6e85f996
Reolink use parenthesis for multi-line lambda (#104321)
Use parenthesis
2023-11-22 08:50:29 +01:00
J. Nick Koston 59469828f1
Bump aioesphomeapi to 18.5.6 (#104341) 2023-11-22 08:43:52 +01:00
Duco Sebel af15aab35e
Add Picnic shopping cart as Todo list (#102855)
Co-authored-by: Robert Resch <robert@resch.dev>
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2023-11-22 08:40:19 +01:00
Vaarlion 3929b0163c
Add RGB, RGBW and RGBWW capability to template.light (#86047)
* Add RGB, RGBW and RGBWW capability to template.light

Add the required unit test

Mute 'LightTemplate.async_turn_on' is too complex

Rename all HS color mode from a generic "Color" name to a specific "HS" name

* Bring back legacy "color" keyword

* Cleanup unrequested commented test

* Increase code coverage to 100%

* Remove confusing if that should never be false

* Apply suggestions from code review

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-11-22 08:15:26 +01:00
Robert Svensson edf18df0e6
Add PoE power cycle button to UniFi integration (#104332) 2023-11-22 07:02:49 +01:00
Robert Svensson f1fd8a0d2b
Bump aiounifi to v66 (#104336) 2023-11-22 07:02:13 +01:00
Luke Lashley 464270d849
Add reauthentication to Roborock (#104215)
* add reauth to roborock

* update reauth based on comments

* fix diagnostics?

* Update homeassistant/components/roborock/config_flow.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* remove unneeded import

* fix tests coverage

---------

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2023-11-21 15:21:31 -08:00
starkillerOG aea15ee20c
Reolink add media browser for playback of recordings (#103407) 2023-11-21 23:43:56 +01:00
Klaas Schoute 91e0a53cb2
Move to asyncio.timeout for APC integration (#104340)
Move to asyncio.timeout for apcupsd
2023-11-21 23:29:46 +01:00
Yuxin Wang 33c5d1855d
Rewrite APCUPSD sensors using DataUpdateCoordinator (#88467)
* Add test sensor.

* Fix sensor test file name.

* Add binary sensor test.

* Fix comments and styling.

* Remove apcupsd from omissions in coveragerc.

* Revert "Remove apcupsd from omissions in coveragerc."

This reverts commit 66b05fcb8829619a771a650a3d70174089e15d91.

* Implement the data coordinator for apcupsd.

* Add tests for sensor updates and throttles.

* Reorder the statement for better code clarity.

* Update docstring.

* Add more tests for checking if the coordinator works ok.

* Implement a custom debouncer with 5 second cooldown for the coordinator.

* Add more tests for checking if our integration is able to properly mark entity's availability.

* Make apcupsd a silver integration.

* Try to fix non-deterministic test behaviors

* Fix JSON format

* Use new `with` format in python 3.10 for better readability

* Update tests.

* Rebase and simplify code.

* Add an ups prefix to the property methods of the coordinator

* Replace init_integration with async_init_integration

* Lint fixes

* Fix imports

* Update BinarySensor implementation to add initial update of attributes

* Fix test failures due to rebases

* Reorder the statements for better code clarity

* Fix incorrect references to the ups_name property

* Simplify BinarySensor value getter code

* No need to update when adding coordinator-controlled sensors
2023-11-21 22:40:05 +01:00
Luke Lashley f45d373e17
Make non-selected Roborock images diagnostic (#104233)
* Make images diagnostic

* Add return type

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-21 20:45:53 +01:00
Marcel van der Veldt b604c1c222
Fix discovery schema for Matter switches (#103762)
* Fix discovery schema for matter switches

* fix typo in function that generates device name

* add test for switchunit
2023-11-21 20:25:07 +01:00
Allen Porter 95e322c52e
Set Motion Blinds battery sensor as a diagnostic (#104329) 2023-11-21 10:47:06 -08:00
J. Nick Koston 4c7da97eca
Bump python-matter-server to 4.0.2 (#103760)
Co-authored-by: Marcel van der Veldt <m.vanderveldt@outlook.com>
2023-11-21 18:36:50 +01:00
Erik Montnemery c929b70fba
Bump pychromecast to 13.0.8 (#104320) 2023-11-21 17:41:04 +01:00
starkillerOG 6d529a82d7
Reolink improve error handeling (#104301)
* Raise proper HomeAssistantError

* fix styling

* Use ServiceValidationError
2023-11-21 17:21:48 +01:00
Joost Lekkerkerker dece6c8042
Bump aiowaqi to 3.0.1 (#104314) 2023-11-21 14:49:10 +01:00
starkillerOG 2dd0a74b38
Reolink add animal detection (#104216) 2023-11-21 12:45:02 +01:00
Martin Hjelmare 2d38a42fea
Clean stt and tts codeowners (#104307) 2023-11-21 12:21:27 +01:00
Franck Nijhof 9ce161c09d
Update vehicle to 2.2.1 (#104299) 2023-11-21 12:21:02 +01:00
Erwin Douna eb5c7a3e76
Add Fastdotcom config flow (#98686)
* Adding config flow and tests

* Removing update and adding to integrations.json

* Updating hassfest

* Removing comments

* Removing unique ID

* Putting the setup_platform out of order

* Adding feedback on issues and importing

* Removing uniqueID (again)

* Adjusting unload and typo

* Updating manifest properly

* Minor patching

* Removing hass.data.setdefault(DOMAIN, {})

* Moving load_platform to __init__.py

* Update homeassistant/components/fastdotcom/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/fastdotcom/strings.json

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/fastdotcom/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/fastdotcom/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Adding an unload function for the timer

* Adding issue on setup platform in sensor

* Update homeassistant/components/fastdotcom/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Removing platform

* Fixing strings.json

* Fine-tuning

* Putting back last_state

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-11-21 09:59:34 +01:00
Christopher Fenner 5805601a83
Set unique_id by base entity in ViCare integration (#104277)
* set unique_id in ViCareEntity

* remove individual unique_id functions

* remove description

* remove individual _attr_unique_id

* fix return types
2023-11-21 09:53:02 +01:00
Erik Montnemery 6f41243410
Change confusing parameter naming in reload helper (#104257) 2023-11-21 08:25:46 +01:00
Klaas Schoute f359b33f2e
Bump energyzero lib to v1.0.0 (#104288) 2023-11-21 08:19:33 +01:00
Jan Bouwhuis 5c72d3c2d8
Restore removed guard for non-string inputs in Alexa (#104263) 2023-11-21 07:59:39 +01:00
J. Nick Koston 29ac3a8f66
Fix memory leak in ESPHome disconnect callbacks (#104149) 2023-11-21 07:58:22 +01:00
Allen Porter 3e1c12507e
Bump pyrainbird to 4.0.1 (#104293) 2023-11-21 07:57:31 +01:00
Klaas Schoute dad8545138
Bump easyenergy lib to v1.0.0 (#104289) 2023-11-21 07:56:48 +01:00
Erik Montnemery 645f916cf4
Remove support for deprecated light attributes from light scenes (#104254) 2023-11-21 07:51:41 +01:00
Richard Kroegel d4ca9843e2
Bump bimmer_connected to 0.14.3 (#104282)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-11-21 07:50:00 +01:00
J. Nick Koston af6f451cc0
Bump aioesphomeapi to 18.5.5 (#104285) 2023-11-21 07:48:05 +01:00
Franck Nijhof afc664f83f
Update adguardhome to 0.6.3 (#104253) 2023-11-21 07:44:34 +01:00
Mick Vleeshouwer 6f82c2e230
Bump pyOverkiz to 1.13.3 (#104280) 2023-11-20 22:19:04 -08:00
Robert Resch 9d3f374728
Add `todo.remove_completed_items` service call (#104035)
* Extend `remove_item` service by status

* update services.yaml

* Create own service

* add tests

* Update tests/components/todo/test_init.py

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

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-11-20 22:39:22 +01:00
Øyvind Matheson Wergeland 5527cbd78a
Fix default lock code for lock services (#103463)
* verisure: Support default code from lock entity

* Actually use default lock code

* Typing

* Only pass default code if set

* Avoid passing code as empty string

* Simplified code
2023-11-20 22:38:16 +01:00
Blastoise186 5fe5057b15
Bump yt-dlp to 2023.11.16 (#104255)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-20 20:50:15 +01:00
Franck Nijhof b7f8ddb04c
Update pvo to 2.1.1 (#104271) 2023-11-20 19:58:22 +01:00
Jan Bouwhuis 4da77d2253
Use more specific exception type for imap decoding (#104227)
* Use more specific exception type for imap decoding

* Only catch ValueError
2023-11-20 19:55:10 +01:00
Anton Tolchanov 80f8e76fa3
Handle attributes set to None in prometheus (#104247)
Better handle attributes set to None
2023-11-20 19:53:25 +01:00
Franck Nijhof 58a73f7723
Update elgato to 5.1.1 (#104252) 2023-11-20 19:27:55 +01:00
Michael f69045fb64
Address late fritzbox coordinator runtime device discover review comments (#104267)
replace list comprehension by generator expression
2023-11-20 19:02:02 +01:00