Commit Graph
17449 Commits
Author SHA1 Message Date
Russell CloranandGitHub 9144ef7ed8 Enumerate available states in Prometheus startup (#97993) 2023-09-04 09:30:56 +02:00
Marc MuellerandGitHub 735b5cf1a0 Fix sql test warning (#99556) 2023-09-03 19:58:13 -05:00
Marc MuellerandGitHub 115518cab9 Fix tolo test warning (#99555) 2023-09-03 19:58:01 -05:00
jan iversenandGitHub f85a3861f2 Make validator for modbus table controlled (#99092) 2023-09-03 21:04:58 +02:00
Rami MoslehandGitHub ca44242095 Allow glances entries with same IP but different ports (#99536) 2023-09-03 19:22:59 +02:00
jan iversenandGitHub d19f617c25 Modbus switch, allow restore "unknown" (#99533) 2023-09-03 17:48:25 +02:00
Allen PorterandGitHub c938b9e7a3 Rename nest test_sensor_sdm.py to test_sensor.py (#99512) 2023-09-03 10:36:20 -05:00
jan iversenandGitHub c94d4f501b Read modbus data before scan_interval (#99243)
Read before scan_interval.
2023-09-03 17:13:49 +02:00
J. Nick KostonandGitHub 186e796e25 Speed up fetching states by domain (#99467) 2023-09-03 09:30:39 -05:00
J. Nick KostonandGitHub 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
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 MuellerandGitHub 6312f34538 Fix zha test RuntimeWarning (#99519) 2023-09-03 01:07:17 +02:00
Jc2kandGitHub 4b11a632a1 Add sensors to private_ble_device (#99515) 2023-09-02 17:45:46 -05:00
J. Nick KostonandGitHub b8f8cd1797 Reduce overhead to retry config entry setup (#99471) 2023-09-02 16:46:53 -05:00
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
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 KostonandGitHub 1ab2e900f9 Improve lingering timer checks (#99472) 2023-09-02 12:43:27 -05:00
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 KostonandGitHub acd9cfa929 Speed up calls to the all states api (#99462) 2023-09-02 12:08:07 -05:00
Erik MontnemeryandGitHub defd9e4001 Don't compile missing statistics when running tests (#99446) 2023-09-02 10:09:46 -05:00
26b1222fae Support tracking private bluetooth devices (#99465)
Co-authored-by: J. Nick Koston <nick@koston.org>
2023-09-02 09:21:05 -05:00
Paarth ShahandGitHub 4d3b978398 Change matrix component to use matrix-nio instead of matrix_client (#72797) 2023-09-02 15:02:55 +02:00
Jan BouwhuisandGitHub 3d1efaa4ad Freeze time for MQTT sensor expire tests (#99496) 2023-09-02 04:10:57 -05:00
Russell CloranandGitHub 5fd14eade5 Handle timestamp sensors in Prometheus integration (#98001) 2023-09-02 10:20:36 +02:00
Jan-Philipp BeneckeandGitHub cf59ea3c47 Use snapshot assertion for netatmo diagnostics test (#99159) 2023-09-01 19:27:54 +02:00
Raman GuptaandGitHub 169a318ec4 Fix device name in zwave_js repair flow (#99414) 2023-09-01 18:06:37 +02:00
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
1539853c0a Update google-nest-sdm to 3.0.2 (#99175)
* Update google-nest-sdm to 3.0.2

* Fix device typing

* Update homeassistant/components/nest/device_info.py

Co-authored-by: jan iversen <jancasacondor@gmail.com>

---------

Co-authored-by: jan iversen <jancasacondor@gmail.com>
2023-08-31 20:33:36 -07:00
J. Nick KostonandGitHub 0da94c20b0 Significantly reduce overhead to filter event triggers (#99376)
* fast

* cleanups

* cleanups

* cleanups

* comment

* comment

* add more cover

* comment

* pull more examples from forums to validate cover
2023-08-31 13:47:01 -04:00
puddlyandGitHub 22c5071270 Initialize ZHA device database before connecting to the radio (#98082)
* Create ZHA entities before attempting to connect to the coordinator

* Delete the ZHA gateway object when unloading the config entry

* Only load ZHA groups if the coordinator device info is known offline

* Do not create a coordinator ZHA device until it is ready

* [WIP] begin fixing unit tests

* [WIP] Fix existing unit tests (one failure left)

* Fix remaining unit test
2023-08-31 12:09:46 -04:00
Erik MontnemeryandGitHub 80caeafcb5 Add documentation URL for homeassistant_yellow (#99336)
* Add documentation URL for homeassistant_yellow

* Fix test

* Tweak
2023-08-31 10:50:53 -04:00
Joakim SørensenandGitHub 7042a02d72 Add remote alias to connection info response (#99410) 2023-08-31 10:43:32 -04:00
Erik MontnemeryandGitHub f36a300651 Improve template sensor config flow validation (#99373) 2023-08-31 15:16:32 +02:00
Erik MontnemeryandGitHub 35560e01b9 Add documentation URL for homeassistant_sky_connect (#99377) 2023-08-31 10:39:24 +02:00
e08661dad3 Patch service validation in Aussie Broadband (#99077)
* Bump pyAussieBB

* rolling back to previous version

* patching the pydantic 2.x issue in aussie_broadband integration

* adding test for validate_service_type

* adding test for validate_service_type

* fixing tests, again

* adding additional test

* doing fixes for live tests

* Implement Feedback

* Add test to detect pydantic2

* Update test_init.py

* Update docstring

---------

Co-authored-by: James Hodgkinson <james@terminaloutcomes.com>
2023-08-31 09:45:44 +02:00
tronikosandGitHub 343e8f0ecc Opower MFA fixes (#99317)
opower mfa fixes
2023-08-31 06:36:07 +02:00
Erik MontnemeryandGitHub 03b1c7ad1d Minor improvement in tests of hardware integrations (#99361) 2023-08-30 21:11:52 +02:00
Erik MontnemeryandGitHub 8c04e4c7a3 Add explicit test of template config entry setup (#99345) 2023-08-30 19:56:34 +02:00
867e9b73bb Add zwave_js device config file change fix/repair (#99314)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-08-30 17:29:22 +02:00
Erik MontnemeryandGitHub 501d5db375 Add config flow for template binary sensor (#99339) 2023-08-30 17:28:56 +02:00
a5dcc25aab Add snapshot assertion to Airzone (#98760)
Co-authored-by: Álvaro Fernández Rojas <noltari@gmail.com>
2023-08-30 17:11:55 +02:00
Erik MontnemeryandGitHub f9b2e10f72 Add new board type (#99334) 2023-08-30 16:37:13 +02:00
Erik MontnemeryandGitHub 63c538b024 Add config flow for template sensor (#98970)
* Add config flow for template sensor

* Tweak error reporting

* Improve validation

* Fix test

* Rename translation strings

* Improve validation

* Fix sensor async_setup_entry

* Avoid duplicating sensor device class translations

* Avoid duplicating sensor device class translations

* Add config flow tests

* Include all units from DEVICE_CLASS_UNITS in unit_of_measurement select

* Address review comments
2023-08-30 16:22:52 +02:00
6e5f4566d5 Add zwave_js controller status sensor (#99252)
* Add zwave_js controller status sensor

* Also update network status command

* fix tests

* Remove WS command since we have a sensor entity

* Update sensor.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* move driver assertion out of closures

* store state in tests

---------

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2023-08-30 06:50:23 -04:00
Jan-Philipp BeneckeandGitHub 027ce55fa6 Use snapshot assertion for google assistant diagnostics test (#99167) 2023-08-30 12:25:06 +02:00
Jan-Philipp BeneckeandGitHub fb42042402 Use snapshot assertion for nextdns diagnostics test (#99157) 2023-08-30 12:22:10 +02:00
G JohanssonandGitHub 2ce5b08fc3 Deprecate timer start optional duration parameter (#93471)
* Deprecate timer start option duration parameter

* Add test

* Fix strings

* breaks_in_ha_version

* strings

* Mod string
2023-08-30 11:48:13 +02:00
021b14fc17 Refactor & enhance BMW tests (#97895)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2023-08-30 11:45:09 +02:00
jan iversenandGitHub 9ef3ec3dd3 Add modbus test for configuration errors (#98697) 2023-08-30 11:34:51 +02:00
Raman GuptaandGitHub 40748a6c34 Add zwave_js controller identify event (#99254) 2023-08-30 11:32:41 +02:00