Commit graph

66470 commits

Author SHA1 Message Date
J. Nick Koston
da45f6cbb0
Bump aioesphomeapi to 16.0.5 (#99698)
changelog: https://github.com/esphome/aioesphomeapi/compare/v16.0.4...v16.0.5

fixes `RuntimeError: set changed size during iteration`

https://github.com/esphome/aioesphomeapi/pull/538

some added debug logging which may help with https://github.com/home-assistant/core/issues/98221
2023-09-05 20:42:50 -05:00
J. Nick Koston
e22b03d6b3
Switch homekit config flow sorted to use itemgetter (#99658)
Avoids unnecessary lambda
2023-09-05 21:18:46 -04:00
J. Nick Koston
a2dae60170
Refactor dispatcher to reduce run time and memory overhead (#99676)
* Fix memory leak in dispatcher removal

When we removed the last job/callable from the dict for the
signal we did not remove the dict for the signal which meant
it leaked

* comment

* cleanup a bit more
2023-09-05 21:18:27 -04:00
J. Nick Koston
b69cc29a78
Switch lambda to attrgetter in zha (#99660) 2023-09-05 22:45:45 +02:00
J. Nick Koston
a1359c1ce3
Replace lambda in script/gen_requirements_all.py with str.lower (#99665) 2023-09-05 22:44:59 +02:00
Jan Bouwhuis
c64d173fcb
Remove imap_email_content integration (#99484) 2023-09-05 21:50:51 +02:00
starkillerOG
3f3d8b1e1e
Bump reolink_aio to 0.7.9 (#99680) 2023-09-05 21:21:27 +02:00
Daniel Gangl
2cf25ee9ec
Bump zamg to 0.3.0 (#99685) 2023-09-05 21:18:06 +02:00
Daniel Hjelseth Høyer
a9c41f76e3
Bump millheater to 0.11.2 (#99683)
Update Mill lib

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2023-09-05 21:14:39 +02:00
Robert Svensson
b0e40d95ad
Bump aiounifi to v61 (#99686)
* Bump aiounifi to v61

* Alter a test to cover the upstream change
2023-09-05 21:13:28 +02:00
puddly
7ab1913ba4
Fix ZHA startup creating entities with non-unique IDs (#99679)
* Make the ZHAGateway initialization restartable so entities are unique

* Add a unit test
2023-09-05 20:30:28 +02:00
Bram Kragten
7fbb1c0fb6
Update frontend to 20230905.0 (#99677) 2023-09-05 20:12:40 +02:00
Joost Lekkerkerker
5ccf866e22
Use shorthand attributes for Plaato (#99634)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-05 19:01:51 +02:00
J. Nick Koston
e9062bb1b3
Replace lambda with attrgetter in homekit_controller (#99666) 2023-09-05 10:36:43 -05:00
J. Nick Koston
abb0537928
Replace lambda with itemgetter in script/gen_requirements_all.py (#99661) 2023-09-05 10:36:01 -05:00
J. Nick Koston
a04c61e77b
Replace lambda with attrgetter in device_tracker device_trigger (#99663) 2023-09-05 16:41:35 +02:00
J. Nick Koston
035fea3ee0
Replace lambda with attrgetter in hassfest (#99662) 2023-09-05 16:40:25 +02:00
Joost Lekkerkerker
2c45d43e7b
Use shorthand attributes in Neato (#99605)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-05 16:33:46 +02:00
Raman Gupta
5afba6327c
Bump zwave-js-server-python to 0.51.1 (#99652)
* Bump zwave-js-server-python to 0.51.1

* Update test

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-05 09:58:32 -04:00
Joost Lekkerkerker
c6bdc380b6
Use shorthand attributes in Ondilo ico (#99627) 2023-09-05 15:40:43 +02:00
Joost Lekkerkerker
3c82045289
Use shorthand attributes in Omnilogic (#99626) 2023-09-05 15:40:11 +02:00
Joost Lekkerkerker
58af0ab0cd
Use shorthand attributes in NZBGet (#99622) 2023-09-05 15:37:00 +02:00
Joost Lekkerkerker
0ae12ad08f
Use shorthand attributes in Logi circle (#99592) 2023-09-05 15:27:38 +02:00
Joost Lekkerkerker
1f648feaef
Use shorthand attributes in Kostal Plenticore (#99581) 2023-09-05 15:26:23 +02:00
Joost Lekkerkerker
447a9f4aad
Use shorthand attributes in Konnected (#99580) 2023-09-05 15:25:00 +02:00
Joost Lekkerkerker
c49f086790
Use shorthand attributes in Kodi (#99578) 2023-09-05 15:22:52 +02:00
Joost Lekkerkerker
d5ad01ffbe
Use shorthand attributes in Openhome (#99629) 2023-09-05 14:57:26 +02:00
itpeters
582eeea082
Fix long press event for matter generic switch (#99645) 2023-09-05 13:10:14 +02:00
Álvaro Fernández Rojas
c77a0a8caa
Update aioairzone to v0.6.8 (#99644)
* Update aioairzone to v0.6.8

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* Trigger CI

---------

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-09-05 12:42:19 +02:00
Joost Lekkerkerker
f13e7706ed
Use shorthand attributes in Nuheat (#99618) 2023-09-05 11:54:53 +02:00
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 Lekkerkerker
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