Commit Graph
66190 Commits
Author SHA1 Message Date
dependabot[bot] 2c3a4b3497 Bump actions/checkout from 3.6.0 to 4.0.0 (#99651) 2023-09-05 08:57:09 +02:00
Joost Lekkerkerker 49bd7e6251 Use shorthand attributes for Picnic (#99633) 2023-09-04 20:59:44 -04:00
J. Nick Koston fed1cab847 Fix mobile app dispatcher performance (#99647)
Fix mobile app thundering heard

The mobile_app would setup a dispatcher to listener for updates on
every entity and reject the ones that were not for the unique id
that it was intrested in.

Instead we now register for a signal per unique id since we were
previously generating O(entities*sensors*devices) callbacks which
was causing the event loop to stall when there were a large
number of mobile app users.
2023-09-04 20:56:34 -04:00
J. Nick Koston ff2e0c570b Improve performance of google assistant supported checks (#99454)
* Improve performance of google assistant supported checks

* tweak

* tweak

* split function

* tweak
2023-09-04 20:53:59 -04:00
J. Nick Koston 63273a307a Fix Bluetooth passive update processor dispatching updates to unchanged entities (#99527)
* Fix passive update processor dispatching updates to unchanged entities

* adjust tests

* coverage

* fix

* Update homeassistant/components/bluetooth/update_coordinator.py
2023-09-04 20:42:05 -04:00
Martin Hjelmare 0b383067ef Move non legacy stt models out from legacy module (#99582) 2023-09-04 16:51:57 -04:00
J. Nick Koston d2a52230ff Speed up responding to states being polled via API (#99621)
* Speed up responding to states being polled via API

Switch to using `as_dict_json` to avoid serializing states over and over when the
states api is polled since the mobile app is already building the cache as it also
polls the states via the websocket_api

* Speed up responding to states being polled via API

Switch to using `as_dict_json` to avoid serializing states over and over when the
states api is polled since the mobile app is already building the cache as it also
polls the states via the websocket_api

* fix json

* cover
2023-09-04 16:51:19 -04:00
G Johansson 47c20495bd Fix not stripping no device class in template helper binary sensor (#99640)
Strip none template helper binary sensor
2023-09-04 22:46:19 +02:00
Joost LekkerkerkerandG Johansson 216a174cba Move variables out of constructor in nightscout (#99612)
* Move variables out of constructor in nightscout

* Update homeassistant/components/nightscout/sensor.py

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

---------

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-09-04 22:35:58 +02:00
G Johansson b8f35fb577 Fix missing unique id in SQL (#99641) 2023-09-04 22:31:53 +02:00
Erik Montnemery de73cafc8b Small cleanup of TemplateEnvironment (#99571)
* Small cleanup of TemplateEnvironment

* Fix typo
2023-09-04 22:19:40 +02:00
Joost Lekkerkerker bc1575a477 Move variables out of constructor in Nobo hub (#99617) 2023-09-04 22:18:36 +02:00
Bram Kragten c1cfded355 Update frontend to 20230904.0 (#99636) 2023-09-04 14:44:20 -04:00
Michael a77f1cbd9e Mark AVM Fritz!Smarthome as Gold integration (#97086)
set quality scale to gold
2023-09-04 14:23:46 -04:00
J. Nick Koston e5ebba0753 Fix module check in _async_get_flow_handler (#99509)
We should have been checking for the module in hass.data[DATA_COMPONENTS]
and not hass.config.components as the check was ineffective if there were
no existing integrations instances for the domain which is the case for
discovery or when the integration is ignored
2023-09-04 14:19:10 -04:00
Erik Montnemery 7e36da4cc0 Small cleanup of WS command render_template (#99562) 2023-09-04 14:17:30 -04:00
Erik Montnemery 26fd36dc4c Revert "Deprecate timer start optional duration parameter" (#99613)
Revert "Deprecate timer start optional duration parameter (#93471)"

This reverts commit 2ce5b08fc3.
2023-09-04 20:10:16 +02:00
David Knowles e57ed26896 Bump pyschlage to 2023.9.0 (#99624) 2023-09-04 19:51:33 +02:00
Joost Lekkerkerker 4812b21ffd Remove slugify from tomorrowio unique id (#99006) 2023-09-04 19:28:44 +02:00
Joost Lekkerkerker cb5d4ee6fa Use shorthand attributes in Octoprint (#99623) 2023-09-04 19:00:19 +02:00
Joost Lekkerkerker 2391087836 Use shorthand attributes in Nest (#99606) 2023-09-04 09:50:33 -07:00
Joost Lekkerkerker 22e90a5755 Remove default state from Nibe (#99611)
Remove start state
2023-09-04 17:53:33 +02:00
Rami Mosleh f2e0ff4f0f Bump simplepush api to 2.2.3 (#99599) 2023-09-04 16:24:20 +02:00
Duco Sebel aa943b7103 Bumb python-homewizard-energy to 2.1.0 (#99598) 2023-09-04 16:21:55 +02:00
Joost Lekkerkerker 29664d04d0 Use shorthand attributes in Mutesync (#99600) 2023-09-04 15:31:33 +02:00
Joost Lekkerkerker 799d0e591c Remove unneeded name property from Logi Circle (#99604) 2023-09-04 15:29:30 +02:00
puddly c225ee89d6 Bump ZHA dependencies (#99561) 2023-09-04 09:26:14 -04:00
Joost Lekkerkerker 8dc05894a8 Use shorthand attributes in Nanoleaf (#99601) 2023-09-04 15:18:48 +02:00
Joost Lekkerkerker f1bb7c25db Use shorthand attributes in Motion eye (#99596) 2023-09-04 15:18:22 +02:00
Joost Lekkerkerker cab0bde37b Use shorthand attributes in Lyric (#99593) 2023-09-04 15:05:33 +02:00
Rami Mosleh 3b6811dab6 Use CONF_SALT correctly in config_flow validation (#99597) 2023-09-04 14:59:18 +02:00
Erik Montnemery 7643820e59 Add loader.async_get_loaded_integration (#99440)
* Add loader.async_get_loaded_integration

* Decorate async_get_loaded_integration with @callback
2023-09-04 14:12:33 +02:00
Erik Montnemery 7c595ee2da Validate state in template helper preview (#99455)
* Validate state in template helper preview

* Deduplicate state validation
2023-09-04 14:10:43 +02:00
Erik MontnemeryandRobert Resch 709ce7e0af Set state of entity with invalid state to unknown (#99452)
* Set state of entity with invalid state to unknown

* Add test

* Apply suggestions from code review

Co-authored-by: Robert Resch <robert@resch.dev>

* Update test_entity.py

---------

Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-04 14:09:51 +02:00
Erik Montnemery 6223af1899 Don't set assumed_state in fan groups (#99399) 2023-09-04 14:08:50 +02:00
Erik Montnemery f3d8a0eaaf Don't set assumed_state in cover groups (#99391) 2023-09-04 14:08:38 +02:00
Joost Lekkerkerker d5301fba90 Use shorthand attributes in Keenetic (#99577) 2023-09-04 13:50:05 +02:00
Joost Lekkerkerker 6194f7faea Bump pyenphase to 1.9.1 (#99574) 2023-09-04 07:39:24 -04:00
Joost Lekkerkerker cf2d3674b9 Use shorthand attributes in Kulersky (#99583) 2023-09-04 13:29:56 +02:00
Joost Lekkerkerker 8ea3b877f6 Use shorthand attributes in Juicenet (#99575) 2023-09-04 13:21:30 +02:00
Joost Lekkerkerker 890eed1121 Use shorthand attributes in LCN (#99587) 2023-09-04 13:18:55 +02:00
Joost Lekkerkerker 051e9e7498 Use shorthand attributes in Laundrify (#99586) 2023-09-04 13:15:02 +02:00
Jan-Philipp Benecke fa0b61e96a Move london underground coordinator to its own file (#99550) 2023-09-04 11:07:08 +02:00
Tiit RätsepandRobert Resch b9536732bc Fix battery reading in SOMA API (#99403)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-04 10:03:58 +02:00
J. Nick Koston de1de926a9 Bump zeroconf to 0.97.0 (#99554)
changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.96.0...0.97.0
2023-09-04 10:52:21 +03:00
Russell Cloran 9144ef7ed8 Enumerate available states in Prometheus startup (#97993) 2023-09-04 09:30:56 +02:00
Joost Lekkerkerker 69117cb8e3 Use shorthand attributes for DLNA dmr (#99236) 2023-09-04 09:23:33 +02:00
Joost LekkerkerkerandRobert Resch 13ebb68b84 Use shorthand attributes in Home connect (#99385)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-04 09:15:25 +02:00
Joost Lekkerkerker f4f98010f9 Remove unused attributes from Econet (#99242) 2023-09-04 09:15:01 +02:00
Joost LekkerkerkerandGuido Schmitz f545389549 Move static shorthand devolo attributes outside of constructor (#99234)
Co-authored-by: Guido Schmitz <Shutgun@users.noreply.github.com>
2023-09-04 09:08:32 +02:00