Commit graph

60218 commits

Author SHA1 Message Date
J. Nick Koston
b11d832fb1
Bump uiprotect to 1.4.1 (#119653) 2024-06-13 21:01:25 -05:00
Shay Levy
efa7240ac5
Use single list for Shelly non-sleeping platforms (#119540) 2024-06-13 20:27:40 -05:00
tronikos
87ddb02828
Bump python-fullykiosk to 0.0.13 (#119544)
Co-authored-by: Robert Resch <robert@resch.dev>
2024-06-13 20:41:37 -04:00
Jan Bouwhuis
a992654a8b
Fix blocking IO calls in mqtt client setup (#119647) 2024-06-13 17:47:38 -05:00
dougiteixeira
cd80b9b318
Remove obsolete device links in Utility Meter helper (#119328)
* Make sure we update the links between the devices and config entries when the changes source device
2024-06-13 23:44:13 +02:00
J. Nick Koston
09aa9cf842
Soften unifiprotect EA channel message (#119641) 2024-06-13 16:31:39 -05:00
J. Nick Koston
0c3a5ae5da
Dispatch unifiprotect websocket messages based on model (#119633) 2024-06-13 16:17:31 -05:00
J. Nick Koston
de27f24a4c
Use the existing api client for unifiprotect repairs if available (#119640)
Co-authored-by: TheJulianJES <TheJulianJES@users.noreply.github.com>
2024-06-13 16:17:11 -05:00
Mr. Bubbles
7bbd28d385
Migrate library to PyLoadAPI 1.1.0 in pyLoad integration (#116053)
* Migrate pyLoad integration to externa API library

* Add const to .coveragerc

* raise update failed when cookie expired

* fix exceptions

* Add tests

* bump to PyLoadAPI 1.1.0

* remove unreachable code

* fix tests

* Improve logging and exception handling

- Modify manifest.json to update logger configuration.
- Improve error messages for authentication failures in sensor.py.
- Simplify and rename pytest fixtures in conftest.py.
- Update test cases in test_sensor.py to check for log entries and remove unnecessary code.

* remove exception translations
2024-06-13 22:52:19 +02:00
Paul Bottein
72c6257131
Update frontend to 20240610.1 (#119634) 2024-06-13 15:34:58 -04:00
starkillerOG
b8851f2f3c
Cleanup Reolink firmware update entity (#119239) 2024-06-13 21:27:30 +02:00
Thomas55555
b4a77f8341
Bump aioautomower to 2024.6.0 (#119625) 2024-06-13 19:58:04 +02:00
J. Nick Koston
fc6dd7ce7d
Bump uiprotect to 1.2.1 (#119620)
* Bump uiprotect to 1.2.0

changelog: https://github.com/uilibs/uiprotect/compare/v1.1.0...v1.2.0

* bump
2024-06-13 19:28:42 +02:00
J. Nick Koston
6d31991021
Reduce duplicate code in unifiprotect (#119624) 2024-06-13 11:44:29 -05:00
Rami Mosleh
bb2883a5a8
Store imap coordinator in runtime_data (#119611) 2024-06-13 16:58:05 +02:00
Rami Mosleh
f2ce510484
Store islamic prayer times coordinator in runtime_data (#119612) 2024-06-13 16:54:40 +02:00
Rami Mosleh
030fe6df4a
Store Mikrotik coordinator in runtime_data (#119594) 2024-06-13 11:53:32 +02:00
Robert Resch
f5b86154b4
Bump deebot-client to 8.0.0 (#119515)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2024-06-13 11:49:20 +02:00
Matrix
55f8a36572
Improve code readability (#119558) 2024-06-13 09:31:29 +02:00
starkillerOG
440771bdea
Fix error for Reolink snapshot streams (#119572) 2024-06-13 09:30:53 +02:00
William Grant
c02ac5e538
Classify more ecowitt power supply sensors as diagnostics (#119555) 2024-06-13 09:29:57 +02:00
Robert Hillis
cad6163162
Store runtime data inside the config entry in Tautulli (#119552) 2024-06-13 08:57:28 +02:00
J. Nick Koston
d52ce03aa4
Ensure asyncio blocking checks are undone after tests run (#119542)
* Ensure asyncio blocking checks are undone after tests run

* no reason to ever enable twice

* we are patching objects, make it more generic

* make sure bootstrap unblocks as well

* move disable to tests only

* re-protect

* Update tests/test_block_async_io.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* Revert "Update tests/test_block_async_io.py"

This reverts commit 2d46028e21.

* tweak name

* fixture only

* Update tests/conftest.py

* Update tests/conftest.py

* Apply suggestions from code review

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-06-13 08:52:01 +02:00
J. Nick Koston
dbd3147c9b
Remove async_late_forward_entry_setups and instead implicitly hold the lock (#119088)
* Refactor config entry forwards to implictly obtain the lock instead of explictly

This is a bit of a tradeoff to not need async_late_forward_entry_setups

The downside is we can no longer detect non-awaited plastform setups
as we will always implicitly obtain the lock instead of explictly.

Note, this PR is incomplete and is only for discussion purposes
at this point

* preen

* cover

* cover

* restore check for non-awaited platform setup

* cleanup

* fix missing word

* make non-awaited test safer
2024-06-12 21:06:11 -04:00
Josef Zweck
4e121fcbe8
Remove steam temp sensor for Linea Mini (#119423) 2024-06-12 23:35:51 +02:00
Jan-Philipp Benecke
fd83b9a7c6
Add missing attribute translations to water heater entity component (#119531) 2024-06-12 23:34:01 +02:00
Jan Bouwhuis
532f6d1d97
Return override target temp for incomfort climate (#119528) 2024-06-12 23:13:12 +02:00
Erik Montnemery
51891ff8e2
Fix typo in google_assistant (#119522) 2024-06-12 22:45:41 +02:00
Matthias Alphart
929dd9f5da
Device automation extra fields translation for LCN (#119519) 2024-06-12 22:45:10 +02:00
Matthias Alphart
39f3a294dc
Device automation extra fields translation for Z-Wave-JS (#119529) 2024-06-12 22:44:50 +02:00
Jan Bouwhuis
541c941006
Add state icons to incomfort water_heater entities (#119527) 2024-06-12 22:25:49 +02:00
J. Nick Koston
a586e7fb72
Remove useless delegation in unifiprotect (#119514) 2024-06-12 22:23:18 +02:00
Erik Montnemery
2661581d4e
Fix typos in collection helper (#119524) 2024-06-12 20:37:38 +02:00
Erik Montnemery
a4c34fe207
Fix typo in lovelace (#119523) 2024-06-12 14:14:59 -04:00
J. Nick Koston
ae3134d875
Simplify unifiprotect device removal code (#119517) 2024-06-12 12:03:12 -05:00
J. Nick Koston
8f7686082c
Refactor unifiprotect media_source to remove type ignores (#119516) 2024-06-12 12:02:53 -05:00
Caius-Bonus
7f7128adbf
Add Danfoss Ally thermostat and derivatives to ZHA (#86907)
* zha integration: Add danfoss specific clusters and attributes; add thermostat.pi_heating_demand and thermostat_ui.keypad_lockout

* zha integration: fix Danfoss thermostat viewing direction not working because of use of bitmap8 instead of enum8

* ZHA Integration: add missing ThermostatChannelSensor

* ZHA integration: format using black

* zha integration: fix flake8 issues

* ZHA danfoss: Add MinHeatSetpointLimit, MaxHeatSetpointLimit, add reporting and read config for danfoss and keypad_lockout.

* ZHA danfoss: fix mypy complaining about type of _attr_entity_category

* ZHA danfoss: ruff fix

* fix tests

* pylint: disable-next=hass-invalid-inheritance

* fix pylint tests

* refactoring

* remove scheduled setpoint

* remove scheduled setpoint in manufacturer specific

* refactor

* fix tests

* change cluster ids

* remove custom clusters

* code quality

* match clusters in manufacturerspecific on quirk class

* fix comment

* fix match on quirk in manufacturerspecific.py

* correctly extend cluster handlers in manufacturerspecific.py and remove workaround for illegal use of attribute updated signals in climate.py

* fix style

* allow non-danfoss thermostats to work in manufacturerspecific.py

* correct order of init of parent and subclasses in manufacturerspecific.py

* improve entity names

* fix pylint

* explicitly state changing size of tuple

* ignore tuple size change error

* really ignore error

* initial

* fix tests

* match on specific name and quirk name

* don't restructure file as it is out of scope

* move back

* remove unnecessary change

* fix tests

* fix tests

* remove code duplication

* reduce code duplication

* empty line

* remove unused variable

* end file on newline

* comply with recent PRs

* correctly initialize all attributes

* comply with recent PRs

* make class variables private

* forgot one reference

* swap 2 lines for consistency

* reorder 2 lines

* fix tests

* align with recent PR

* store cluster handlers in only one place

* edit tests

* use correct device for quirk id

* change quirk id

* fix tests

* even if there is a quirk id, it doesn't have to have a specific cluster handler

* add tests

* use quirk id for manufacturer specific cluster handlers

* use quirk_ids instead of quirks_classes

* rename quirk_id

* rename quirk_id

* forgot to rename here

* rename id

* add tests

* fix tests

* fix tests

* use quirk ids from zha_quirks

* use quirk id from zha_quirks

* wrong translation

* sync changes with ZCL branch

* sync

* style

* merge error

* move bitmapSensor

* merge error

* merge error

* watch the capitals

* fix entity categories

* more decapitalization

* translate BitmapSensor

* translate all enums

* translate all enums

* don't convert camelcase to snakecase

* don't change enums at all

* remove comments

* fix bitmaps and add enum for algorithm scale factor

* improve readability if bitmapsensor

* fix capitals

* better setpoint response time

* feedback

* lowercase every enum to adhere to the translation_key standard

* remove enum state translations and use enums from quirks

* correctly capitalize OrientationEnum

* bump zha dependencies; this will have to be done in a separate PR, but this aids review

* accidentally removed enum

* tests

* comment

* Migrate reporting and ZCL attribute config out of `__init__`

* hvac.py shouldn't be changed in this pull request

* change wording comment

* I forgot I changed the size of the tuple.

---------

Co-authored-by: puddly <32534428+puddly@users.noreply.github.com>
2024-06-12 12:48:37 -04:00
Robert Svensson
707e422a31
Add UniFi sensor for number of clients connected to a device (#119509)
Co-authored-by: Kim de Vos <kim.de.vos@vippsmobilepay.com>
2024-06-12 18:20:31 +02:00
J. Nick Koston
4fb8202de1
Refactor adding entities to unifiprotect (#119512) 2024-06-12 18:11:59 +02:00
Jan-Philipp Benecke
b92372c4ca
Partially revert "Add more debug logging to Ping integration" (#119487) 2024-06-12 18:08:44 +02:00
J. Nick Koston
db3029dc5f
Remove unreachable sensor code in unifiprotect (#119501) 2024-06-12 18:07:20 +02:00
Robert Hillis
aaa674955c
Store runtime data inside the config entry in Dlink (#119442) 2024-06-12 17:52:10 +02:00
J. Nick Koston
3f188b7e27
Migrate unifiprotect to use entry.runtime_data (#119507) 2024-06-12 17:49:18 +02:00
Joost Lekkerkerker
4766f48f47
Migrate Airzone to runtime_data (#119494) 2024-06-12 17:44:03 +02:00
Joost Lekkerkerker
b953ff73c0
Migrate Airzone cloud to runtime_data (#119495) 2024-06-12 17:42:51 +02:00
Maciej Bieniek
cd928d5571
Support reconfigure flow in Brother integration (#117298)
* Add reconfigure flow

* Improve config flow

* Check if it is the same printer

* Improve description

* Add tests

* Improve strings

* Add missing reconfigure_successful string

* Improve test names and comments

* Format

* Mock unload entry

* Use add_suggested_values_to_schema()

* Do not abort when another device's IP has been used

* Remove unnecessary code

* Suggested changes

---------

Co-authored-by: Maciej Bieniek <478555+bieniu@users.noreply.github.com>
2024-06-12 17:39:44 +02:00
Robert Hillis
5b91ea4550
Store runtime data inside the config entry in Goalzero (#119440) 2024-06-12 16:52:18 +02:00
Robert Hillis
dc3ade6558
Store runtime data inside the config entry in Google Mail (#119439) 2024-06-12 16:49:40 +02:00
Joost Lekkerkerker
420ee782ff
Migrate Airtouch4 to runtime_data (#119493) 2024-06-12 16:45:21 +02:00
Rami Mosleh
e065c70969
Store transmission coordinator in runtime_data (#119502)
store transmission coordinator in runtime_data
2024-06-12 15:38:35 +02:00