Joakim Sørensen
23e81a45c8
Use snapshots in analytics tests ( #110704 )
2024-02-16 15:47:41 +01:00
Denis Shulyaka
2d74dafd3f
Generic Hygrostat: Do not log warning if the hygrostat is already not active ( #102662 )
...
* Generic Hygrostat: Do not log warning if the hygrostat is already not active
* add test
2024-02-16 15:29:14 +01:00
J. Nick Koston
f9dc92a9a0
Fix recorder ws_info blocking the event loop ( #110657 )
...
* Fix recorder ws_info blocking the event loop
Fixes
```
2024-02-15 06:37:55.423 WARNING (MainThread) [asyncio] Executing <Task pending name=websocket_api.async:ws_info coro=<_handle_async_response() running at /usr/src/homeassistant/homeassistant/components/websocket_api/decorators.py:26> wait_for=<_GatheringFuture pending cb=[Task.task_wakeup()] created at /usr/local/lib/python3.12/asyncio/tasks.py:712> cb=[set.remove()] created at /usr/src/homeassistant/homeassistant/core.py:653> took 0.332 seconds
```
* no instance did not actually work
2024-02-16 15:11:09 +01:00
IceBotYT
35149a46fc
Bump linear-garage-door to 0.2.9 ( #110298 )
2024-02-16 13:56:25 +01:00
dupondje
0aaa517217
add missing state class to dsmr sensors ( #110712 )
...
current_average_demand and maximum_demand_current_month are missing a state class, which gives errors in the statistics tab in HA.
So adding them to the sensor.
2024-02-16 12:08:09 +01:00
Robert Resch
bcce32e2de
Bump deebot-client to 5.2.1 ( #110683 )
...
* Bump deebot-client to 5.2.0
* Bumb again
* Fix tests
2024-02-16 11:47:36 +01:00
Jan-Philipp Benecke
613b183898
Avoid calling internals when adding mock config entry in Nightscout ( #110600 )
2024-02-16 10:00:52 +01:00
Matthew FitzGerald-Chamberlain
ce8cf314f9
Add Aprilaire integration ( #95093 )
...
* Add Aprilaire integration
* Fix test errors
* Update constants
* Code review cleanup
* Reuse coordinator from config flow
* Code review fixes
* Remove unneeded tests
* Improve translation
* Code review fixes
* Remove unneeded fixture
* Code review fixes
* Code review updates
* Use base data coordinator
* Deduplicate based on MAC
* Fix tests
* Check mac address on init
* Fix mypy error
* Use config entry ID for entity unique ID
* Fix tests
* Code review updates
* Fix mypy errors
* Code review updates
* Add data_description
* Update homeassistant/components/aprilaire/coordinator.py
Co-authored-by: Jon Oberheide <506986+jonoberheide@users.noreply.github.com>
* Update .coveragerc
* Update homeassistant/components/aprilaire/coordinator.py
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Jon Oberheide <506986+jonoberheide@users.noreply.github.com>
2024-02-16 08:30:51 +01:00
J. Nick Koston
37897ee384
Move late import of config flows in loader to load time ( #110688 )
...
* Move late import of config flows in loader to load time
There does not seem to be any reason to import the
generated flows late. Import them at load time
with the rest of the generated files
* tests
2024-02-16 07:55:12 +01:00
Erik Montnemery
ae39945a85
Correct config entry setup in fritz tests ( #110669 )
2024-02-15 20:52:40 +01:00
Erik Montnemery
06a21d4ed9
Bump pychromecast to 14.0.0 ( #108374 )
...
* Pass unregister callback to cast HomeAssisstantController
* Update tests
* Bump pychromecast to 14.0.0
* Fix lint warning, adjust tests
* Improve test coverage
2024-02-15 20:14:01 +01:00
Erik Montnemery
3526fd66df
Add option to block remote enabling of HA Cloud remote ( #109700 )
...
* Allow blocking remote enabling of HA Cloud remote
* Fix test
2024-02-15 17:26:06 +01:00
Livio Avalle
c4247205ed
Add state_class to ring battery sensor for LTS ( #109872 )
...
* Add state_class to ring battery sensor for LTS
* Add test, in test_sensor.py, for state_class for battery entity; in response to comment in PR
2024-02-15 09:52:11 -06:00
J. Nick Koston
d49bccf123
Ensure lamarzocco tests add config entry before updating it ( #110423 )
2024-02-15 09:09:47 -06:00
kingy444
3529eb6044
Powerview Gen 3 functionality ( #110158 )
...
Co-authored-by: J. Nick Koston <nick@koston.org>
2024-02-15 08:27:11 -06:00
Stackie Jia
636c7ce350
Enable strict type checking on apple_tv integration ( #101688 )
...
* Enable strict type checking on apple_tv integration
* move some instance variables to class variables
* fix type of attr_value
* fix tests for description_placeholders assertion
* nits
* Apply suggestions from code review
* Update remote.py
* Apply suggestions from code review
* Update __init__.py
* Update __init__.py
* Update __init__.py
* Update config_flow.py
* Improve test coverage
* Update test_config_flow.py
* Update __init__.py
---------
Co-authored-by: Joost Lekkerkerker <joostlek@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2024-02-15 15:17:00 +01:00
Javier Fernández
d555f91702
Update wallbox to 0.6.0 ( #110636 )
...
* Update wallbox plugin version
Closes #110566
* Fix unit tests failing
* Fix import order
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-15 15:04:32 +01:00
Åke Strandberg
fd0f093299
Add some myuplink tests ( #110521 )
...
* Add some myuplink tests
* Update fixtures for api endpoints
* Adjust according to review
* Update snapshot file
* Remove unneded fixtures and improve typing
* More cleanup
* One last session scope removed
* Fix typing
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-15 13:44:45 +01:00
Joakim Sørensen
57d3f3f9f7
Split pre/post backup actions into dedicated methods ( #110632 )
...
* Split pre/post backup actions into dedicated methods
* Update homeassistant/components/backup/manager.py
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
---------
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2024-02-15 12:38:36 +01:00
Aurélien Grenotton
b9a8b992d7
Fix freebox pairing in bridge mode ( #106131 )
2024-02-15 12:34:29 +01:00
J. Nick Koston
8da07f1bf2
Fix formatting of mac addresses from dhcp discovery mocking in axis ( #110560 )
...
dhcp returns addresses in lowercase without :
2024-02-14 20:37:31 -05:00
J. Nick Koston
d48a45fee7
Fix formatting of mac addresses from dhcp discovery mocking in config_entries test ( #110617 )
2024-02-14 16:32:02 -06:00
J. Nick Koston
499c42364e
Fix formatting of mac addresses from dhcp discovery mocking in broadlink ( #110558 )
...
* Fix formatting of mac addresses from dhcp discovery mocking in broadlink
dhcp returns addresses in lowercase without :
* fix missed ones
* broadlink has same format
2024-02-14 17:26:14 -05:00
J. Nick Koston
78bc561700
Fix formatting of mac addresses from dhcp discovery mocking in nest ( #110584 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:25:52 -05:00
J. Nick Koston
7b4c5a112c
Fix formatting of mac addresses from dhcp discovery mocking in radiotherm ( #110593 )
...
dhcp returns addresses in lowercase without :
2024-02-14 23:25:33 +01:00
J. Nick Koston
1f67e4fed1
Fix formatting of mac addresses from dhcp discovery mocking in ruuvi_gateway ( #110597 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:25:22 -05:00
J. Nick Koston
28afe9ff9e
Correct misaligned formatting of mac addresses in samsungtv ( #110599 )
...
* Correct misaligned formatting of mac addresses in samsungtv
dhcp returns addresses in lowercase without : and there were places
were it was not passed through format_mac which resulted in the wrong
format being saved in the config entry
* safer
2024-02-14 17:25:08 -05:00
J. Nick Koston
0ea524659c
Fix formatting of mac addresses from dhcp discovery mocking in roomba ( #110596 )
...
dhcp returns addresses in lowercase without :
2024-02-14 23:24:34 +01:00
J. Nick Koston
20d1cd1246
Fix formatting of mac addresses from dhcp discovery mocking in qnap_qsw ( #110592 )
...
dhcp returns addresses in lowercase without :
2024-02-14 23:23:43 +01:00
J. Nick Koston
c7e2f24303
Fix formatting of mac addresses from dhcp discovery mocking in lametric ( #110580 )
2024-02-14 23:23:22 +01:00
J. Nick Koston
b87e34ec67
Fix formatting of mac addresses from dhcp discovery mocking in screenlogic ( #110602 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:23:13 -05:00
J. Nick Koston
9105dd16e3
Fix formatting of mac addresses from dhcp discovery mocking in somfy_mylink ( #110603 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:23:02 -05:00
J. Nick Koston
35bcf2e9e4
Fix formatting of mac addresses from dhcp discovery mocking in squeezebox ( #110604 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:22:51 -05:00
J. Nick Koston
d4562f4674
Fix formatting of mac addresses from dhcp discovery mocking in steamist ( #110605 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:22:38 -05:00
J. Nick Koston
48cd973c62
Fix formatting of mac addresses from dhcp discovery mocking in tailwind ( #110606 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:22:24 -05:00
J. Nick Koston
334c177e67
Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector ( #110607 )
...
* Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector
dhcp returns addresses in lowercase without :
* Fix formatting of mac addresses from dhcp discovery mocking in tesla_wall_connector
dhcp returns addresses in lowercase without :
2024-02-14 17:22:09 -05:00
J. Nick Koston
cefaf0e065
Fix formatting of mac addresses from dhcp discovery mocking in tolo ( #110608 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:56 -05:00
J. Nick Koston
77a44c54dd
Fix formatting of mac addresses from dhcp discovery mocking in twinkly ( #110609 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:33 -05:00
J. Nick Koston
2fe246441f
Fix formatting of mac addresses from dhcp discovery mocking in unifiprotect ( #110610 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:19 -05:00
J. Nick Koston
2a04eabe18
Fix formatting of mac addresses from dhcp discovery mocking in verisure ( #110611 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:21:04 -05:00
J. Nick Koston
e6ac4c5f1f
Fix formatting of mac addresses from dhcp discovery mocking in vicare ( #110613 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:20:47 -05:00
J. Nick Koston
fa026b7e12
Fix formatting of mac addresses from dhcp discovery mocking in wiz ( #110615 )
...
dhcp returns addresses in lowercase without :
wiz discovery returns addresses in lowercase without :
2024-02-14 17:20:32 -05:00
J. Nick Koston
79b2e465de
Fix formatting of mac addresses from dhcp discovery mocking in yeelight ( #110616 )
...
dhcp returns addresses in lowercase without :
2024-02-14 17:20:15 -05:00
J. Nick Koston
c20d2d44ed
Fix formatting of mac addresses from dhcp discovery mocking in fronius ( #110572 )
...
Co-authored-by: Matthias Alphart <farmio@alphart.net>
2024-02-14 16:18:19 -06:00
J. Nick Koston
dcfff6c138
Fix formatting of mac addresses from dhcp discovery mocking in powerwall ( #110591 )
...
dhcp returns addresses in lowercase without :
2024-02-14 23:11:25 +01:00
J. Nick Koston
cc3783f999
Fix misaligned mac formatting in goalzero ( #110574 )
...
The DHCP mac address was being set as aabbcceeddff but the user step
was setting it as aa:bb:cc:dd:ee:ff
2024-02-14 23:10:07 +01:00
J. Nick Koston
5988db1670
Fix formatting of mac addresses from dhcp discovery mocking in dlink ( #110562 )
...
* Fix formatting of mac addresses from dhcp discovery mocking in dlink
dhcp returns addresses in lowercase without :
* fix tests
2024-02-14 23:07:45 +01:00
J. Nick Koston
cd1c633ff9
Fix tplink not updating IP from DHCP discovery and discovering twice ( #110557 )
...
We only called format_mac on the mac address if we connected
to the device during entry creation. Since the format of the
mac address from DHCP discovery did not match the format saved
in the unique id, the IP would not get updated and a second
discovery would appear
Thankfully the creation path does format the mac so we did not
create any entries with an inconsistantly formatted unique id
fixes #110460
2024-02-14 23:03:30 +01:00
J. Nick Koston
c045e23000
Fix formatting of mac addresses from dhcp discovery mocking in overkiz ( #110590 )
2024-02-14 16:01:15 -06:00
Jan-Philipp Benecke
5da31a3f1d
Avoid calling internals when adding mock config entry in Squeezebox ( #110601 )
2024-02-14 22:59:49 +01:00