67887 Commits

Author SHA1 Message Date
Marc Mueller
8bfdc5d3d9
Update pytest-aiohttp to 1.0.5 (#99744) 2023-09-06 17:37:11 +02:00
Joost Lekkerkerker
eab76fc621
Revert "Bump pyoverkiz to 1.10.1 (#97916)" (#99742) 2023-09-06 17:16:40 +02:00
Bram Kragten
f70469d6ef
2023.9.0 (#99741) 2023.9.0 2023-09-06 17:16:35 +02:00
Marc Mueller
ab3bc1b74b
Improve blink config_flow typing (#99579) 2023-09-06 17:00:16 +02:00
Marc Mueller
2628a86864
Update pre-commit to 3.4.0 (#99737) 2023-09-06 16:58:57 +02:00
Marc Mueller
d8035ddf47
Fix tradfri asyncio.wait (#99730) 2023-09-06 16:57:13 +02:00
Marc Mueller
5d54660802
Fix asyncio.wait typing (#99726) 2023-09-06 16:53:41 +02:00
David Knowles
0b95e4ac17
Fix the Hydrawise status sensor (#99271) 2023-09-06 16:51:27 +02:00
Bram Kragten
d369a70092 Bumped version to 2023.9.0 2023-09-06 16:09:56 +02:00
Bram Kragten
02fc735c08 Update frontend to 20230906.1 (#99733) 2023-09-06 16:09:06 +02:00
Erik Montnemery
b5d9014bbd Correct state attributes in group helper preview (#99723) 2023-09-06 16:09:05 +02:00
Erik Montnemery
d99e5e0c4f Correct state attributes in template helper preview (#99722) 2023-09-06 16:09:03 +02:00
Erik Montnemery
6f6306b39b Don't allow changing device class in template binary sensor options (#99720) 2023-09-06 16:09:02 +02:00
Erik Montnemery
067f946129 Send template render errors to template helper preview (#99716) 2023-09-06 16:09:01 +02:00
starkillerOG
107ca83d42 Reolink onvif not supported fix (#99714)
* only subscibe to ONVIF if supported

* Catch NotSupportedError when ONVIF is not supported

* fix styling
2023-09-06 16:09:00 +02:00
Erik Montnemery
c9a6ea94a7
Send template render errors to template helper preview (#99716) 2023-09-06 16:07:05 +02:00
Erik Montnemery
e1ea53e72f
Correct state attributes in template helper preview (#99722) 2023-09-06 16:06:33 +02:00
Erik Montnemery
c376447ccd
Don't allow changing device class in template binary sensor options (#99720) 2023-09-06 15:59:30 +02:00
Erik Montnemery
97710dc5b7
Correct state attributes in group helper preview (#99723) 2023-09-06 15:59:03 +02:00
David Knowles
bb765449eb
Add binary_sensor to Schlage (#99637)
* Add binary_sensor to Schlage

* Apply suggestions from code review

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

---------

Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
2023-09-06 15:03:54 +02:00
Bram Kragten
9700888df1
Update frontend to 20230906.1 (#99733) 2023-09-06 15:00:26 +02:00
starkillerOG
0037385336
Reolink onvif not supported fix (#99714)
* only subscibe to ONVIF if supported

* Catch NotSupportedError when ONVIF is not supported

* fix styling
2023-09-06 14:46:24 +02:00
Jan Bouwhuis
397952ceea
Postpone Imap_email_content removal (#99721) 2023-09-06 12:45:46 +02:00
Jan Bouwhuis
b815ea1332
Revert "Remove imap_email_content integration" (#99713) 2023-09-06 11:54:18 +02:00
Marc Mueller
274507b5c9
Fix pylint plugin test DeprecationWarning (#99711) 2023-09-06 11:35:57 +02:00
J. Nick Koston
034fabe188
Use loop time to set context (#99701)
* Use loop time to set context

loop time is faster than utcnow, and since its only used internally it can
be switched without a breaking change

* fix mocking
2023-09-06 11:04:49 +02:00
Bram Kragten
98896834cd Bump version to 2023.9.0b6 2023.9.0b6 2023-09-06 11:00:01 +02:00
Bram Kragten
800ff489b0 Update frontend to 20230906.0 (#99715) 2023-09-06 10:56:53 +02:00
Erik Montnemery
7b7fd35af2 Fix unit conversion for gas cost sensor (#99708) 2023-09-06 10:56:53 +02:00
J. Nick Koston
f9ee18352d 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-06 10:56:52 +02:00
Robert Svensson
e486ad735d Bump aiounifi to v61 (#99686)
* Bump aiounifi to v61

* Alter a test to cover the upstream change
2023-09-06 10:56:51 +02:00
Daniel Gangl
cea1109e25 Bump zamg to 0.3.0 (#99685) 2023-09-06 10:56:50 +02:00
c0ffeeca7
71afa0ff43
Yellow LED controls: rename LEDs (#99710)
- reorder, to reflect placement on board, left to right (yellow, green, red)
2023-09-06 10:46:52 +02:00
starkillerOG
96e932dad6 Bump reolink_aio to 0.7.9 (#99680) 2023-09-06 10:43:30 +02:00
puddly
aa32b658b2 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-06 10:43:29 +02:00
Erik Montnemery
0cbcacbbf5 Include template listener info in template preview (#99669) 2023-09-06 10:43:28 +02:00
Erik Montnemery
9d87e8d02b Allow specifying a custom log function for template render (#99572)
* Allow specifying a custom log function for template render

* Bypass template cache when reporting errors + fix tests

* Send errors as events

* Fix logic for creating new TemplateEnvironment

* Add strict mode back

* Only send error events if report_errors is True

* Force test of websocket_api only

* Debug test

* Run pytest with higher verbosity

* Timeout after 1 minute, enable syslog output

* Adjust timeout

* Add debug logs

* Fix unsafe call to WebSocketHandler._send_message

* Remove debug code

* Improve test coverage

* Revert accidental change

* Include severity in error events

* Remove redundant information from error events
2023-09-06 10:43:27 +02:00
Bram Kragten
00ada69e0b
Update frontend to 20230906.0 (#99715) 2023-09-06 10:40:05 +02:00
Erik Montnemery
687e69f7c3
Fix unit conversion for gas cost sensor (#99708) 2023-09-06 10:35:04 +02:00
Erik Montnemery
48f7924e9e
Allow specifying a custom log function for template render (#99572)
* Allow specifying a custom log function for template render

* Bypass template cache when reporting errors + fix tests

* Send errors as events

* Fix logic for creating new TemplateEnvironment

* Add strict mode back

* Only send error events if report_errors is True

* Force test of websocket_api only

* Debug test

* Run pytest with higher verbosity

* Timeout after 1 minute, enable syslog output

* Adjust timeout

* Add debug logs

* Fix unsafe call to WebSocketHandler._send_message

* Remove debug code

* Improve test coverage

* Revert accidental change

* Include severity in error events

* Remove redundant information from error events
2023-09-06 10:03:35 +02:00
Jan-Philipp Benecke
f41b045244
Use shorthand attributes in Trend (#99695) 2023-09-06 09:55:25 +02:00
Erik Montnemery
cdca4591a4
Include template listener info in template preview (#99669) 2023-09-06 09:49:42 +02:00
Jan-Philipp Benecke
b28fda2433
Move template coordinator to its own file (#99419)
* Move template update coordinator to its own file

* Add coordinator.py to .coveragerc

* Remove coordinator.py to .coveragerc

* Apply suggestions from code review

* Update homeassistant/components/template/coordinator.py

* Copy over fixes from upstream

---------

Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: G Johansson <goran.johansson@shiftit.se>
2023-09-06 08:54:25 +02:00
tronikos
d4ef570b0a
Add a comment why state_class=total (#99703) 2023-09-06 08:43:46 +02:00
Rami Mosleh
d523734db1
Display channel number in Bravia TV if title is not available (#99567)
Display channel number if title is not available
2023-09-06 08:35:34 +02:00
Maciej Bieniek
d9a1ebafdd
Show OTA update progress for Shelly gen2 devices (#99534)
* Show OTA update progress

* Use an event listener instead of a dispatcher

* Add tests

* Fix name

* Improve tests coverage

* Fix subscribe/unsubscribe logic

* Use async_on_remove()
2023-09-06 08:17:45 +02:00
Joost Lekkerkerker
4f05e61072
Add codeowner for Withings (#99681) 2023-09-05 21:14:56 -05:00
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