Commit Graph
66123 Commits
Author SHA1 Message Date
Bram Kragten 02fc735c08 Update frontend to 20230906.1 (#99733) 2023-09-06 16:09:06 +02:00
Erik MontnemeryandBram Kragten b5d9014bbd Correct state attributes in group helper preview (#99723) 2023-09-06 16:09:05 +02:00
Erik MontnemeryandBram Kragten d99e5e0c4f Correct state attributes in template helper preview (#99722) 2023-09-06 16:09:03 +02:00
Erik MontnemeryandBram Kragten 6f6306b39b Don't allow changing device class in template binary sensor options (#99720) 2023-09-06 16:09:02 +02:00
Erik MontnemeryandBram Kragten 067f946129 Send template render errors to template helper preview (#99716) 2023-09-06 16:09:01 +02:00
starkillerOGandBram Kragten 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
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 MontnemeryandBram Kragten 7b7fd35af2 Fix unit conversion for gas cost sensor (#99708) 2023-09-06 10:56:53 +02:00
J. Nick KostonandBram Kragten 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 SvenssonandBram Kragten 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 GanglandBram Kragten cea1109e25 Bump zamg to 0.3.0 (#99685) 2023-09-06 10:56:50 +02:00
starkillerOGandBram Kragten 96e932dad6 Bump reolink_aio to 0.7.9 (#99680) 2023-09-06 10:43:30 +02:00
puddlyandBram Kragten 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 MontnemeryandBram Kragten 0cbcacbbf5 Include template listener info in template preview (#99669) 2023-09-06 10:43:28 +02:00
Erik MontnemeryandBram Kragten 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 6b8027019b Bump version to 2023.9.0b5 2023.9.0b5 2023-09-05 20:25:02 +02:00
Bram Kragten fed84ebc40 Update frontend to 20230905.0 (#99677) 2023-09-05 20:24:51 +02:00
bd0fd9db77 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 20:24:50 +02:00
J. Nick KostonandBram Kragten 5d1fe0eb00 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-05 20:24:49 +02:00
itpetersandBram Kragten 9e03f8a8d6 Fix long press event for matter generic switch (#99645) 2023-09-05 20:24:48 +02:00
Álvaro Fernández RojasandBram Kragten c040672cab 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 20:24:47 +02:00
G JohanssonandBram Kragten f0cf539e15 Fix missing unique id in SQL (#99641) 2023-09-05 20:24:46 +02:00
G JohanssonandBram Kragten 2a7c12013f Fix not stripping no device class in template helper binary sensor (#99640)
Strip none template helper binary sensor
2023-09-05 20:24:45 +02:00
Erik MontnemeryandBram Kragten 4c0e4fe745 Small cleanup of TemplateEnvironment (#99571)
* Small cleanup of TemplateEnvironment

* Fix typo
2023-09-05 20:24:44 +02:00
J. Nick KostonandBram Kragten cab9c97598 Bump aioesphomeapi to 16.0.4 (#99541) 2023.9.0b4 2023-09-04 21:06:13 +02:00
Joakim PlateandBram Kragten ba5822bed4 Bump gardena_bluetooth to 1.4.0 (#99530) 2023-09-04 21:06:11 +02:00
Bram Kragten 4fcb0a840a Bump version to 2023.9.0b4 2023-09-04 20:50:17 +02:00
Bram Kragten 6b988a99d5 Update frontend to 20230904.0 (#99636) 2023-09-04 20:49:43 +02:00
Erik MontnemeryandBram Kragten 0520cadfa6 Revert "Deprecate timer start optional duration parameter" (#99613)
Revert "Deprecate timer start optional duration parameter (#93471)"

This reverts commit 2ce5b08fc3.
2023-09-04 20:49:42 +02:00
Joost LekkerkerkerandBram Kragten 89e280e136 Remove unneeded name property from Logi Circle (#99604) 2023-09-04 20:49:41 +02:00
Joost LekkerkerkerandBram Kragten 30c6565205 Bump pyenphase to 1.9.1 (#99574) 2023-09-04 20:49:40 +02:00
Erik MontnemeryandBram Kragten 37f8f91171 Small cleanup of WS command render_template (#99562) 2023-09-04 20:49:40 +02:00
puddlyandBram Kragten a7efeb2c87 Bump ZHA dependencies (#99561) 2023-09-04 20:49:39 +02:00
Robert SvenssonandBram Kragten 5c42ea57b3 Bump aiounifi to v60 (#99548) 2023-09-04 20:49:38 +02:00
G JohanssonandBram Kragten c791ddc937 Fix loading filesize coordinator from wrong place (#99547)
* Fix loading filesize coordinator from wrong place

* aboslute in executor

* combine into executor
2023-09-04 20:49:37 +02:00
Jc2kandBram Kragten 8ccd2b6457 Update bluetooth-data-tools to 1.11.0 (#99485) 2023-09-04 20:48:55 +02:00
J. Nick KostonandBram Kragten a60e23caf2 Bump bleak-retry-connector to 3.1.2 (#99540) 2023-09-04 20:45:32 +02:00
jan iversenandBram Kragten c677dae9c1 Modbus switch, allow restore "unknown" (#99533) 2023-09-04 20:45:32 +02:00
453c5f90f8 Bump bleak to 0.21.0 (#99520)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-04 20:45:31 +02:00
J. Nick KostonandBram Kragten 70b460f52b Bump aiohomekit to 3.0.2 (#99514) 2023-09-04 20:45:29 +02:00
J. Nick KostonandBram Kragten 2bc08d1fcc 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 20:45:29 +02:00
Erik MontnemeryandBram Kragten 423e8fbde3 Validate state in template helper preview (#99455)
* Validate state in template helper preview

* Deduplicate state validation
2023-09-04 20:45:28 +02:00
e5fd6961a8 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 20:45:27 +02:00
Mike O'DriscollandBram Kragten bdc39e1d52 Fix recollect_waste month time boundary issue (#99429) 2023-09-04 20:45:26 +02:00
852589f025 Fix battery reading in SOMA API (#99403)
Co-authored-by: Robert Resch <robert@resch.dev>
2023-09-04 20:45:25 +02:00
Erik MontnemeryandBram Kragten 2a5f8ee4a7 Don't set assumed_state in fan groups (#99399) 2023-09-04 20:45:24 +02:00
Erik MontnemeryandBram Kragten 1c2c13c938 Don't set assumed_state in cover groups (#99391) 2023-09-04 20:45:23 +02:00
Russell CloranandBram Kragten e0594bffa1 Enumerate available states in Prometheus startup (#97993) 2023-09-04 20:45:22 +02:00
MichaelandBram Kragten 4524b38b80 Mark AVM Fritz!Smarthome as Gold integration (#97086)
set quality scale to gold
2023-09-04 20:45:22 +02:00