Commit graph

66470 commits

Author SHA1 Message Date
Yuxin Wang
9bba501057
Handle gracefully when unloading apcupsd config entries (#99513) 2023-09-03 15:54:00 +02:00
Michael Arthur
31d1752c74
Bugfix: Electric Kiwi reduce interval so oauth doesn't expire (#99489)
decrease interval time as EK have broken/changed their oauth again
2023-09-03 15:53:23 +02:00
J. Nick Koston
00893bbf14
Bump bleak to 0.21.0 (#99520)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-09-03 08:22:03 -05:00
J. Nick Koston
5f487b5d85
Refactor async_call_at and async_call_later event helpers to avoid creating closures (#99469) 2023-09-03 08:19:06 -05:00
Jc2k
1cd0cb4537
Add suggest_display_precision to private_ble_device (#99529) 2023-09-03 07:39:20 -05:00
Marc Mueller
6414248bee
Update pytest warning filter (#99521) 2023-09-03 13:04:01 +02:00
J. Nick Koston
1183bd159e
Bump zeroconf to 0.93.1 (#99516)
* Bump zeroconf to 0.92.0

changelog: https://github.com/python-zeroconf/python-zeroconf/compare/0.91.1...0.92.0

* drop unused argument

* Update tests/components/thread/test_diagnostics.py

* lint

* again

* bump again since actions failed to release the wheels
2023-09-03 11:16:26 +02:00
Joakim Plate
61dc217d92
Bump gardena_bluetooth to 1.4.0 (#99530) 2023-09-03 10:25:00 +02:00
Allen Porter
7b1c0c2df2
Extend template entities with a script section (#96175)
* Extend template entities with a script section

This allows making a trigger entity that triggers a few times a day,
and allows collecting data from a service resopnse which can be
fed into a template entity.

The current alternatives are to publish and subscribe to events or to
store data in input entities.

* Make variables set in actions accessible to templates

* Format code

---------

Co-authored-by: Erik <erik@montnemery.com>
2023-09-02 16:19:45 -07:00
Marc Mueller
6312f34538
Fix zha test RuntimeWarning (#99519) 2023-09-03 01:07:17 +02:00
Jc2k
4b11a632a1
Add sensors to private_ble_device (#99515) 2023-09-02 17:45:46 -05:00
J. Nick Koston
b8f8cd1797
Reduce overhead to retry config entry setup (#99471) 2023-09-02 16:46:53 -05:00
Richard Kroegel
bec36d3914
Add long-term statistics to BMW sensors (#99506)
* Add long-term statistics to BMW ConnectedDrive sensors

* Add sensor test snapshot

---------

Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-09-02 14:44:28 -07:00
J. Nick Koston
f4f78cf000
Bump aiohomekit to 3.0.2 (#99514) 2023-09-02 15:25:42 -05:00
starkillerOG
cf8da2fc89
Motion blinds add translations (#99078) 2023-09-02 22:13:17 +02:00
starkillerOG
3c30ad1850
Motion blinds duplication reduction using entity baseclass (#99444) 2023-09-02 21:51:58 +02:00
J. Nick Koston
0b065b118b
Bump zeroconf to 0.91.1 (#99490) 2023-09-02 21:04:13 +02:00
starkillerOG
834f3810d3
Check new IP of Reolink camera from DHCP (#99381)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-02 21:00:33 +02:00
J. Nick Koston
1ab2e900f9
Improve lingering timer checks (#99472) 2023-09-02 12:43:27 -05:00
Allen Porter
1048f47a91
Code cleanup for nest device info (#99511) 2023-09-02 19:38:41 +02:00
Jan Bouwhuis
c3841f8734
Rework on mqtt certificate tests (#99503)
* Shared fixture on TEMP_DIR_NAME mock in MQTT tests

* Improve mqtt certificate file tests

* Update tests/components/mqtt/test_util.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update tests/components/mqtt/conftest.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Avoid blocking code

* typo in sub function

---------

Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-02 19:26:11 +02:00
J. Nick Koston
6974d211e5
Switch isy994 to use async_call_later (#99487)
async_track_point_in_utc_time is not needed here since we only need to call
at timedelta(hours=25)
2023-09-02 10:14:33 -07:00
J. Nick Koston
acd9cfa929
Speed up calls to the all states api (#99462) 2023-09-02 12:08:07 -05:00
J. Nick Koston
6e743a5bb2
Switch mqtt to use async_call_later where possible (#99486) 2023-09-02 11:55:11 -05:00
Erik Montnemery
defd9e4001
Don't compile missing statistics when running tests (#99446) 2023-09-02 10:09:46 -05:00
Erik Montnemery
7168e71860
Log unexpected exceptions causing recorder shutdown (#99445) 2023-09-02 09:51:06 -05:00
Joost Lekkerkerker
9e9aa163f7
Use shorthand attributes in hlk_sw16 (#99383) 2023-09-02 09:42:32 -05:00
Jc2k
26b1222fae
Support tracking private bluetooth devices (#99465)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-02 09:21:05 -05:00
Daniel Hjelseth Høyer
d88ee0dbe0
Update Tibber library to 0.28.2 (#99115) 2023-09-02 15:08:49 +02:00
Paarth Shah
4d3b978398
Change matrix component to use matrix-nio instead of matrix_client (#72797) 2023-09-02 15:02:55 +02:00
Joost Lekkerkerker
f48e8623da
Use shorthand attributes in Hunterdouglas powerview (#99386) 2023-09-02 04:55:19 -05:00
Jan Bouwhuis
3d1efaa4ad
Freeze time for MQTT sensor expire tests (#99496) 2023-09-02 04:10:57 -05:00
jimmyd-be
1e46ecbb48
Fix translation bug Renson sensors (#99461)
* Fix translation bug

* Revert "Fix translation bug"

This reverts commit 84b5e90dac.

* Fixed translation of Renson sensor
2023-09-02 10:55:12 +02:00
Russell Cloran
5fd14eade5
Handle timestamp sensors in Prometheus integration (#98001) 2023-09-02 10:20:36 +02:00
G Johansson
b681dc06e0
Fix default language in Workday (#99463)
Workday fix default language
2023-09-02 09:47:59 +02:00
Jc2k
e465a4f820
Update bluetooth-data-tools to 1.11.0 (#99485) 2023-09-01 17:33:19 -05:00
J. Nick Koston
7c87b38a23
Reduce overhead to process and publish MQTT messages (#99457) 2023-09-01 15:41:34 -05:00
J. Nick Koston
5a8fc43212
Refactor MQTT discovery to avoid creating closure if hash already in discovery_pending_discovered (#99458) 2023-09-01 15:40:53 -05:00
Andrew Onyshchuk
04bf126425
Update aiotractive to 0.5.6 (#99477) 2023-09-01 23:28:53 +03:00
J. Nick Koston
09f45660cf
Avoid linear search of MQTT SUPPORTED_COMPONENTS (#99459)
By making this a set we avoid the linear search in async_discovery_message_received
2023-09-01 20:10:47 +02:00
Jan-Philipp Benecke
cf59ea3c47
Use snapshot assertion for netatmo diagnostics test (#99159) 2023-09-01 19:27:54 +02:00
Richard Mikalsen
1e6cddaa1d
Turn off Mill heaters using local API (#99348)
* Update mill_local

* Add ability to turn heater on and off

* Use OperationMode from upstream library

* Fix: compare against value
2023-09-01 19:05:35 +02:00
Raman Gupta
169a318ec4
Fix device name in zwave_js repair flow (#99414) 2023-09-01 18:06:37 +02:00
Bram Kragten
1d80af870d
Update frontend to 20230901.0 (#99464) 2023-09-01 17:28:52 +02:00
Erik Montnemery
390c046537
Fix template helper strings (#99456) 2023-09-01 17:14:42 +02:00
Paul Bottein
ac0565e3bc
Use common key for away mode state translations (#99425) 2023-09-01 15:58:01 +02:00
puddly
38270ee823
Create a ZHA repair when directly accessing a radio with multi-PAN firmware (#98275)
* Add the SiLabs flasher as a dependency

* Create a repair if the wrong firmware is detected on an EZSP device

* Update homeassistant/components/zha/strings.json

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>

* Provide the ZHA config entry as a reusable fixture

* Create a separate repair when using non-Nabu Casa hardware

* Add unit tests

* Drop extraneous `config_entry.add_to_hass` added in 021def44

* Fully unit test all edge cases

* Move `socket://`-ignoring logic into repair function

* Open a repair from ZHA flows when the wrong firmware is running

* Fix existing unit tests

* Link to the flashing section in the documentation

* Reduce repair severity to `ERROR`

* Make issue persistent

* Add unit tests for new radio probing states

* Add unit tests for new config flow steps

* Handle probing failure raising an exception

* Implement review suggestions

* Address review comments

---------

Co-authored-by: c0ffeeca7 <38767475+c0ffeeca7@users.noreply.github.com>
2023-09-01 09:05:45 -04:00
rappenze
680775c3e0
Discover more power and energy sensors in fibaro integration (#98253) 2023-09-01 10:48:08 +02:00
Joost Lekkerkerker
65246b99ec
Use shorthand attributes in iZone (#99397) 2023-09-01 10:34:09 +02:00
Joost Lekkerkerker
6c93865cee
Use shorthand attributes in Insteon (#99392) 2023-09-01 10:13:34 +02:00