Commit graph

18925 commits

Author SHA1 Message Date
Matt Zimmerman
370345ce2b
Map missing preset mapping for heat mode "ready" in smarttub () 2024-01-01 17:58:12 -10:00
Erik Montnemery
c1f1b5c50b
Ensure it's safe to call Entity.__repr__ on non added entity () 2023-12-31 18:54:34 +01:00
J. Nick Koston
bfda3f1ba8
Bump habluetooth to 2.0.1 ()
fixes switching scanners to quickly since the manager failed
to account for jitter in the auto discovered advertising interval

replaces and closes 

changelog: https://github.com/Bluetooth-Devices/habluetooth/compare/v2.0.0...v2.0.1
2023-12-31 06:44:55 -10:00
Josef Zweck
83b0934138
Add binary sensors for tedee ()
* fix tests

* Update homeassistant/components/tedee/binary_sensor.py

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-31 13:16:01 +01:00
Josef Zweck
0549c9e113
Add sensor platform for tedee integration ()
* add sensors

* requested changes

* remove translation key from battery

* fix pullspring test

* loop instead of parametrize

* name snapshots

* fix snapshots
2023-12-31 12:24:44 +01:00
puddly
98c41f7398
Bump ZHA dependencies ()
* Bump ZHA dependencies

* Revert "Remove bellows thread, as it has been removed upstream"

This reverts commit c28053f4bf.
2023-12-31 04:54:09 -05:00
DiamondDrake
8140036d2e
Add support for cookie file to media_extractor ()
* media_extractor comp -> add support for cookie file

* Update __init__.py

* Update __init__.py

* fixed pr request, added test

* update test with valid cookie file

* move cookies to subdirectory

* use pathlib instead of os.path
2023-12-30 14:34:50 +01:00
Floris272
ee1b0b46ce
Add reauth to Blue Current integration ()
* Add reauth to Blue Current integration.

* Apply feedback

* Fix failing codecov check

* Fix patches

* Add wrong_account to strings.json
2023-12-30 13:53:35 +01:00
Josef Zweck
f17470cb29
Upper case tedee device name () 2023-12-30 13:15:22 +01:00
G Johansson
bcf75795c2
DNS IP implement retry ()
* DNS IP implement retry

* Review comments
2023-12-30 10:51:34 +01:00
Erik Montnemery
461dad3039
Fix changed_variables in automation traces () 2023-12-30 08:34:21 +01:00
J. Nick Koston
9e3869ae1c
Avoid recreating ReadOnly dicts when attributes do not change () 2023-12-29 17:10:40 -10:00
Jaroslav Hanslík
e83aa86426
Fixed native apparent temperature in WeatherEntity () 2023-12-29 18:37:46 +01:00
Josef Zweck
02b863e968
Add tedee integration ()
* init tedee

* init tests

* add config flow tests

* liniting

* test

* undo

* linting

* pylint

* add tests

* more tests

* more tests

* update snapshot

* more tests

* typing

* strict typing

* cleanups

* cleanups, fix tests

* remove extra platforms

* remove codeowner

* improvements

* catch tedeeclientexception

* allow bridge selection in CF

* allow bridge selection in CF

* allow bridge selection in CF

* allow bridge selection in CF

* abort earlier

* auto-select bridge

* remove cloud token, optionsflow to remove size

* remove options flow leftovers

* improve coverage

* defer coordinator setting to after first update

* define coordinator

* some improvements

* remove diagnostics, webhook

* remove reauth flow, freeze data classes

* fix lock test

* Update homeassistant/components/tedee/entity.py

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

* Update homeassistant/components/tedee/__init__.py

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

* Update homeassistant/components/tedee/config_flow.py

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

* Update homeassistant/components/tedee/entity.py

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

* Update homeassistant/components/tedee/entity.py

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

* requested changes

* requested changes

* Update lock.py

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

* Update entity.py

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

* Update lock.py

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

* Update config_flow.py

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

* Update config_flow.py

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

* Update config_flow.py

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

* requested changes

* Update tests/components/tedee/test_lock.py

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

* Update tests/components/tedee/test_lock.py

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

* Update tests/components/tedee/test_lock.py

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

* Update tests/components/tedee/test_lock.py

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

* Update tests/components/tedee/conftest.py

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

* Update homeassistant/components/tedee/coordinator.py

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

* Update homeassistant/components/tedee/lock.py

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

* Update tests/components/tedee/test_config_flow.py

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

* Update homeassistant/components/tedee/strings.json

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

* Update homeassistant/components/tedee/strings.json

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

* Update homeassistant/components/tedee/lock.py

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

* Update homeassistant/components/tedee/strings.json

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

* Update homeassistant/components/tedee/lock.py

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

* requested changes

* requested changes

* requested changes

* revert load fixture

* change tests

* Update test_config_flow.py

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

* Update strings.json

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

* Update coordinator.py

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

* remove warning

* move stuff out of try

* add docstring

* tedee lowercase, time.time

* back to some uppercase, time.time

* awaitable

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-12-29 14:55:41 +01:00
Erik Montnemery
56a58f9285
Improve tests of inheriting entity descriptions () 2023-12-29 13:22:52 +01:00
Robert Hillis
27bdbc6600
Add entity name and translations to Netgear LTE () 2023-12-29 11:07:56 +01:00
Erik Montnemery
a4e9a053c7
Fix missing await when running shutdown jobs () 2023-12-29 10:04:16 +01:00
J. Nick Koston
03fcb81a59
Small speed up to compressed state diff () 2023-12-29 08:36:20 +01:00
J. Nick Koston
7051f28547
Add deprecation warning for cover supported features when using magic numbers () 2023-12-29 08:34:08 +01:00
J. Nick Koston
a47587e3cd
Add deprecation warning for siren supported features when using magic numbers () 2023-12-28 15:45:27 -10:00
J. Nick Koston
e4a25825d3
Migrate light entity to use contains for LightEntityFeature with deprecation warnings () 2023-12-28 15:45:06 -10:00
J. Nick Koston
e6c6327463
Add deprecation warning for alarm_control_panel supported features when using magic numbers () 2023-12-28 15:04:06 -10:00
J. Nick Koston
2b972f6dba
Add deprecation warning for lock supported features when using magic numbers () 2023-12-28 15:03:14 -10:00
J. Nick Koston
e0b6d4e216
Media player platform back-compat for custom components without MediaPlayerEntityFeature () 2023-12-28 14:32:44 -10:00
J. Nick Koston
931e90ab20
Humidifier platform back-compat for custom components without HumidifierEntityFeature () 2023-12-28 14:10:46 -10:00
J. Nick Koston
4b6aaf6254
Update platform back-compat for custom components without UpdateEntityFeature () 2023-12-28 14:10:26 -10:00
J. Nick Koston
81726808e8
Vacuum platform back-compat for custom components without VacuumEntityFeature () 2023-12-28 14:06:25 -10:00
J. Nick Koston
6506a8d511
Camera platform back-compat for custom components without CameraEntityFeature () 2023-12-29 00:45:35 +01:00
J. Nick Koston
552d4e49f0
Climate platform back-compat for custom components without ClimateEntityFeature () 2023-12-29 00:36:28 +01:00
J. Nick Koston
3e7c44c612
Fan platform back-compat for custom components without FanEntityFeature () 2023-12-29 00:36:15 +01:00
J. Nick Koston
d0e9f2ce0d
Water heater platform back-compat for custom components without WaterHeaterEntityFeature () 2023-12-29 00:16:02 +01:00
J. Nick Koston
97ee7e2c98
Remote platform back-compat for custom components without RemoteEntityFeature () 2023-12-29 00:15:48 +01:00
J. Nick Koston
a46fe94216
Add helper to report deprecated entity supported features magic numbers () 2023-12-28 12:24:36 -10:00
Thomas Hollstegge
6deb6ddbc4
Use correct state for emulated_hue covers () 2023-12-28 09:30:26 -10:00
G Johansson
648afe121d
Replace dash in language if needed ()
* Replace dash in language if needed

* Add tests
2023-12-28 20:16:14 +01:00
mkmer
e7e0ae8f6a
Move services to entity services in blink ()
* Use device name to lookup camera

* Fix device registry serial

* Move to entity based services

* Update tests

* Use config_entry
Move refresh service out of camera

* Use config entry for services

* Fix service schema

* Add depreciation note

* Depreciation note

* key error changes
deprecated (not depreciated)
repair issue

* tweak message

* deprication v2

* back out update field change

* backout update schema changes

* Finish rollback on update service

* update doc strings

* move to 2024.7.0
More verbosity to deprecation message
2023-12-28 19:56:40 +01:00
Robert Hillis
454201d0a8
Add device info to Netgear LTE ()
* Add device info to Netgear LTE

* uno mas
2023-12-28 17:47:04 +01:00
Álvaro Fernández Rojas
5dd63d86f2
Update aioairzone-cloud to v0.3.7 ()
Release v0.3.7

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-12-28 17:14:25 +01:00
G Johansson
b852eb7e23
Fix holiday HA language not supported () 2023-12-28 16:10:27 +01:00
Brett Adams
5b706cedeb
Fix Tessie honk button () 2023-12-28 09:00:34 +01:00
ollo69
ee25cb2616
Add AsusWrt temperature sensors provided by http protocol () 2023-12-27 21:20:03 +01:00
Daniel Schall
8778763a3e
Synchronize and cache Generic Camera still image fetching () 2023-12-27 21:19:25 +01:00
Mike Megally
9b2c67fcd2
Add Color Night Vision switch for UniFi Protect ()
* Add a switch to enable and disable "Color Night Vision" for the Unifi Protect platform, which is a feature on the new G5 Pro cameras with a "Vision Enhancer" attached

* Updated tests for the new switch
2023-12-27 09:56:54 -10:00
Michael
389c8d39f5
Add significant Change support for cover () 2023-12-27 18:28:24 +01:00
Robert Resch
9508a23f95
Check and register cloud hook if needed for mobile_app () 2023-12-27 18:01:44 +01:00
dougiteixeira
65c21438a6
Add query type validation independent of declaration position for SQL ()
* Add query type validation independent of declaration position

* Restore close sess

* Separates invalid query and non-read-only query tests

* Add more tests

* Use the SQLParseError exception for queries that are not read-only

* Add handling for multiple SQL queries.

* Fix test

* Clean ';' at the beginning of the SQL query

* Clean ';' at the beginning of the SQL query - init

* Query cleaning before storing

* Query cleaning before setup sesensor plataform - YAML

* Exception when the SQL query type is not detected

* Cleaning

* Cleaning

* Fix typing in tests

* Fix typing in tests

* Add test for query = ';;'

* Update homeassistant/components/sql/__init__.py

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

* Update homeassistant/components/sql/__init__.py

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

* Update __init__.py

* Update config_flow.py

* Clean query before storing

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-12-27 17:58:35 +01:00
Caius-Bonus
37707edc47
Match ZHA Custom ClusterHandler on a Custom Cluster using a unique id for the quirk ()
* initial

* fix tests

* match on specific name and quirk name

* fix tests

* fix tests

* 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

* rename quirk_id

* add tests

* fix tests

* fix tests

* use quirk id from zha_quirks
2023-12-27 11:48:30 -05:00
Marcel van der Veldt
13702d51b1
Add more fine grained control over Matter server commissioning for the Companion apps () 2023-12-27 16:55:07 +01:00
Michael
117ff21c48
Add significant Change support for number () 2023-12-27 16:54:08 +01:00
David F. Mulcahey
817c71747f
Delay all ZHA polling until initialization of entities has completed ()
* Don't update entities until they are initialized

* fix hass reference

* only establish polling once

* fix log level and small cleanup

* start device availability checks after full initialization of network

* add logging

* clean up sensor polling and class hierarchy

* don't attempt restore sensor cleanup in this PR

* put check back

* fix race condition and remove parallel updates

* add sensor polling test

* cleanup switch polling and add a test

* clean up and actually fix race condition

* update light forced refresh

* only use flag

* unused flag

* reduce diff size

* collapse
2023-12-27 10:25:41 -05:00