G Johansson
896dd1a36b
Change name to entity_id Text platform error messages ( #87963 )
2023-02-13 12:51:38 +01:00
Jan Bouwhuis
950ee34514
Correct typing on hass_storage fixure ( #87986 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-13 12:12:34 +01:00
Franck Nijhof
f1daeabff0
Add homeassistant.reload_all service ( #87769 )
2023-02-13 12:09:29 +01:00
epenet
03710e58b5
Add type hints to integration tests (part 9) ( #87983 )
2023-02-13 12:06:51 +01:00
Franck Nijhof
6359775cfc
Add more entities for Elgato Key Light Mini ( #87793 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-02-13 11:54:50 +01:00
epenet
89e4ee5320
Add type hints to integration tests (part 8) ( #87982 )
2023-02-13 11:13:48 +01:00
epenet
9404a107b2
Add type hints to integration tests (part 10) ( #87985 )
2023-02-13 10:25:26 +01:00
Erik Montnemery
3f910b49ae
Fix sensor unit conversion ( #87978 )
2023-02-13 10:08:07 +01:00
epenet
b68f502769
Add type hints to integration tests (part 7) ( #87980 )
2023-02-13 09:53:09 +01:00
epenet
b9beed4624
Add type hints to integration tests (part 6) ( #87979 )
2023-02-13 09:45:11 +01:00
Joakim Sørensen
e842f90767
Add recorder engine name and version to analytics ( #87784 )
...
* Add recorder to analytics
* Add test
* Add recorder to after_dependencies
* Add version
* dialect can not be None
2023-02-13 09:18:12 +01:00
G Johansson
8c00f435a6
Change name to entity_id update platform error messages ( #87960 )
2023-02-12 22:18:09 +01:00
J. Nick Koston
7b9293941e
The recorder/statistic(s)_during_period websocket API now require the statistic_id(s) field ( #87937 )
2023-02-12 14:51:10 -06:00
rappenze
5f4a2a713c
Remove deprecated fibaro yaml config ( #87939 )
2023-02-12 21:50:50 +01:00
Ernst Klamer
18d3e4dca8
Fix kegtron state class for volume sensors ( #87950 )
2023-02-12 21:22:21 +01:00
epenet
728f62b1ec
Add type hints to integration tests (part 5) ( #87850 )
2023-02-12 19:39:48 +01:00
Klaas Schoute
60bcbd0473
Bump gridnet to v4.2.0 ( #87903 )
2023-02-12 18:53:05 +01:00
Allen Porter
4d186366bd
Improve Google Calendar config flow error message when API disabled ( #87889 )
2023-02-12 18:28:44 +01:00
Erik Montnemery
4db40810dd
Add support for dormakaba dKey locks ( #87501 )
...
* Add support for dormakaba dKey locks
* Pylint
* Address review comments
* Add test for already configured entry
* Add user flow
* Address review comments
* Simplify config flow
* Add tests
* Sort manifest
* Remove useless _abort_if_unique_id_configured
* Remove config entry update listener
* Simplify user flow
* Remove startup event
* Revert "Simplify user flow"
This reverts commit 0ef9d1c6bb
.
2023-02-12 13:46:31 +01:00
J. Nick Koston
85649ec589
Reduce overhead to see if an entity is recorded ( #87912 )
...
A significant chunk of list_statistic_ids was checking if the entity
was recorded because it had to get the recorder instance over and
over
2023-02-11 23:21:16 -05:00
rappenze
e1340e6ed4
Replace fiblary3 with pyfibaro library ( #83500 )
...
* Replace fiblary3 with pyfibaro library
* Fix some missing replacements for pyfibaro library
* Remove debug code which was committed accidentially
* Use fibaro_parent_id in another place
* Fix some bugs
* Move more code to the library
* Move has_unit check to correct place
2023-02-11 22:13:12 +01:00
J. Nick Koston
34e2751f14
Retrigger Bluetooth discovery when calling async_rediscover_address ( #87884 )
...
* Retrigger Bluetooth discovery when calling async_rediscover_address
* Retrigger Bluetooth discovery when calling async_rediscover_address
* tweak
2023-02-11 16:59:51 +01:00
G Johansson
7aa79415c1
Fix unbound variable in Group sensor ( #87878 )
...
* group bound last
* Add test
2023-02-11 16:27:22 +01:00
epenet
9f688a564f
Add type hints to integration tests (part 4) ( #87848 )
2023-02-11 08:26:13 +01:00
Jan Bouwhuis
41a92a872f
Add missed type hint on MQTT device tracker test ( #87847 )
2023-02-10 22:42:56 +01:00
Jan Bouwhuis
0bf4896c7f
Add type hints to MQTT init tests ( #87402 )
...
* Add hass type hint and `None` return type
* Add type hints on tmp_path
* Add registry hints
* Add caplog and hass_ws_client type hints
* Add type hints for MqttMockHAClientGenerator
* Add type hints MqttMockPahoClient
* Hints on fixtures `calls` and `record_calls`
* Other fixture type hints tweaks
* Add hints for mock_usename_password_set
* Update tests/components/mqtt/test_init.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* correct domain
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-02-10 18:38:37 +01:00
J. Nick Koston
c35661947a
Optimize fetching statistics by avoiding timestamp conversions ( #87845 )
...
* Optimize fetching statistics by avoiding timestamp conversions
* remove accidential unrelated change
* fix test
* recreate so we handle timezone changes
2023-02-10 11:26:46 -05:00
epenet
6a1cd75a67
Add MockHAClientWebSocket test helper ( #87832 )
...
* Add MockHAClientWebSocket test helper
* Add sample use
* Add missing type hint
2023-02-10 10:23:26 -05:00
epenet
0cf5e9fb4a
Add type hints to integration tests (part 2) ( #87789 )
...
* Add type hints to integration tests (part 2)
* typo
* Improve analytics
* Improve automation
* Imrpove bluetooth
2023-02-10 16:05:26 +01:00
epenet
fa7acb4f0d
Add type hints to integration tests (part 3) ( #87844 )
2023-02-10 16:05:01 +01:00
epenet
22bfb99db4
Add type hints to requests_mock ( #87757 )
2023-02-10 11:44:09 +01:00
Mike Heath
b5dfd83c46
Fix Fully Kiosk Browser merging entities when MAC empty ( #87743 )
...
* Fix FKB merging entities when MAC empty
Fully Kiosk Browser will sometimes return an empty MAC address in the
device_info API call. When two Fully Kiosk devices are added with
missing MAC addresses, HA will assume the two devices are the same and
merge the entities. This fixes that problem.
Fixes #77722
* Update homeassistant/components/fully_kiosk/entity.py
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-02-10 09:19:09 +01:00
Raman Gupta
8aa64c8008
Add `has_firmware_update_cc` bool to zwave_js/node_status cmd ( #87310 )
...
* Add `has_firmware_update_cc` bool to zwave_js/node_status cmd
* fix test
* Switch order of equality check
2023-02-10 00:49:09 -05:00
Michael Hansen
8cd5106c15
Add HassGetState intent for queries ( #87808 )
...
* Use names instead of entity ids for list
* Add HassGetState for Assist queries
* Add unknown area to test
* Clean up and test device classes
2023-02-09 23:39:46 -05:00
Ernst Klamer
9dd806278b
Keep sleepy xiaomi-ble devices that don't broadcast regularly available ( #87654 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
fixes undefined
2023-02-09 16:42:08 -06:00
J. Nick Koston
4cebc767b5
Give users a hint that their bluetooth adapter has been ignored ( #87727 )
2023-02-09 16:41:53 -06:00
J. Nick Koston
cbaf4764e7
Ensure MySQL tests cleanup connections and raise an exception if they do not ( #87767 )
...
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
Co-authored-by: Erik <erik@montnemery.com>
2023-02-09 16:27:53 -06:00
J. Nick Koston
84d14cc76a
Add reauthentication support to Yale Access Bluetooth ( #87719 )
...
* Bump yalexs_ble to 1.12.11 to fix reconnect when services fail to resolve
changelog: https://github.com/bdraco/yalexs-ble/compare/v1.12.8...v1.12.11
* bump to make it work with esphome proxy as well
* empty
* Add reauth support to yalexs_ble
* lint
* reduce
* tweak
* tweak
* test for reauth
* Apply suggestions from code review
* cleanup
2023-02-09 22:24:14 +01:00
J. Nick Koston
509de02044
Ensure recorder still shuts down if the final commit fails ( #87799 )
2023-02-09 15:12:40 -06:00
Tom Harris
926534bde2
Bump pyinsteon to 1.3.1 ( #87788 )
...
* Bump pyinsteon to 1.3.1
* Fix record received test
* Fix status received test
2023-02-09 21:40:06 +01:00
jan iversen
b9b5a279f2
Correct sensor restore entity in modbus ( #87563 )
...
* Correct sensor restore entity.
* Review comments.
2023-02-09 21:35:44 +01:00
Erik Montnemery
cc564026fa
Move EntityCategory to homeassistant.const ( #87792 )
...
* Move EntityCategory to homeassistant.const
* Fix more imports
2023-02-09 20:15:37 +01:00
J. Nick Koston
abf0c87e40
Migrate statistics to use timestamp columns ( #87321 )
2023-02-09 12:24:19 -06:00
Erik Montnemery
2fae82a9ef
Really ensure recorder test fixture is setup before hass fixture ( #87796 )
2023-02-09 11:43:14 -06:00
J. Nick Koston
db503c0daa
Always use UTC time for the MariaDB/MySQL session ( #87583 )
2023-02-09 11:39:45 -06:00
J. Nick Koston
c05a7b29e6
Terminate stale MySQL connections at the end of test runs ( #87794 )
2023-02-09 11:13:13 -06:00
Jan Bouwhuis
1a38b9f665
Improve coverage MQTT device_trigger ( #87408 )
...
* Improve coverage MQTT device_trigger
* Use assert
2023-02-09 17:42:32 +01:00
epenet
a13535b0c7
Bump renault-api to 0.1.12 ( #87773 )
...
fix https://github.com/hacf-fr/renault-api/pull/789
2023-02-09 16:55:02 +01:00
Jan Bouwhuis
a244f9b202
Add type hints tests MQTT config_flow ( #87783 )
2023-02-09 16:47:28 +01:00
epenet
07a1a0efa9
Add type hints to integration tests (part 1) ( #87777 )
2023-02-09 16:09:13 +01:00