Robert Svensson
288a4203ab
Make client tracker use common UniFi entity class ( #84942 )
...
* Make client tracker use common UniFi entity class
* Fix tests
* Fix mypy
* Remove legacy data
* Fix comment: skip else use return
* Minor change
* Remove missed stuff from previous rebase
* Import async_device_available_fn from entities.py rather than specifying it in device_tracker
* Avoid using asserts
* Keep explicit parenthesis for readability
* Allow loading entities on option changes
2023-03-11 06:23:49 +01:00
Paulus Schoutsen
d6a223f0e1
Await block till done inside patched config entry in tests ( #89515 )
2023-03-10 06:42:53 -10:00
epenet
96bd714364
Add FTTH and WAN info to SFR box diagnostics ( #89492 )
...
* Add FTTH and WAN info to SFR box diagnostics
* Adjust tests
* Use snapshots
2023-03-10 10:09:04 -05:00
epenet
74d4a26f97
Add missing mock in jellyfin config flow tests ( #89510 )
2023-03-10 10:06:53 -05:00
epenet
f22fabdd7f
Add missing mock in kmtronic config flow tests ( #89511 )
2023-03-10 10:05:31 -05:00
epenet
401273dcff
Add missing mock in lacrosse_view config flow tests ( #89512 )
2023-03-10 10:05:13 -05:00
epenet
f674559a71
Add missing mock in landisgyr config flow tests ( #89513 )
2023-03-10 10:04:45 -05:00
Vincent Knoop Pathuis
75bca76e68
Landis+Gyr move coordinator to own file ( #89433 )
...
* Move coordinator to own file and add test cases
* Apply typing improvements from review
* Remove testcase for exception during setup
* Simplify unittest for failing serial connection
* Readd checks in serial connection test after review
2023-03-10 15:57:35 +01:00
epenet
a0f725dfcb
Add type hints to tests ( #89497 )
2023-03-10 12:06:50 +01:00
Thijs W
b8bda93d87
Add config flow to frontier_silicon ( #64365 )
...
* Add config_flow to frontier_silicon
* Add missing translation file
* Delay unique_id validation until radio_id can be determined
* Fix tests
* Improve tests
* Use FlowResultType
* Bump afsapi to 0.2.6
* Fix requirements_test_all.txt
* Stash ssdp, reauth and unignore flows for now
* Re-introduce SSDP flow
* hassfest changes
* Address review comments
* Small style update
* Fix tests
* Update integrations.json
* fix order in manifest.json
* fix black errors
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Address review comments
* fix black errors
* Use async_setup_platform instead of async_setup
* Address review comments on tests
* parameterize tests
* Remove discovery component changes from this PR
* Address review comments
* Apply suggestions from code review
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
* Add extra asserts to tests
* Restructure _async_step_device_config_if_needed
* Add return statement
* Update homeassistant/components/frontier_silicon/media_player.py
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
---------
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2023-03-10 10:26:03 +01:00
Erik Montnemery
fde205c158
Add unconfigured flag to thread discovery data ( #89230 )
...
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2023-03-09 22:32:32 -05:00
epenet
f8462fd5b7
Add missing mock in guardian config flow tests ( #89451 )
2023-03-09 22:57:16 +01:00
Lucas Mindêllo de Andrade
eed16dc185
Add list areas function to template ( #88441 )
2023-03-09 22:32:30 +01:00
epenet
48fca3bb27
Fix missing debouncer cancel in update coordinator ( #89383 )
...
* Fix missing debouncer cancel in update coordinator
* Improve
* Adjust with comment
* Adjust again
* Simplify PR
* Adjust tests to avoid lingering timer
* Improve
2023-03-09 15:16:52 -05:00
Joakim Sørensen
4f29e1e180
Add stats sensors for core and supervisor ( #89455 )
...
* Add stats sensors for core and supervisor
* Update homeassistant/components/hassio/__init__.py
2023-03-09 19:06:35 +01:00
epenet
3a4ce260b4
Add missing mock in freedompro config flow tests ( #89442 )
2023-03-09 19:05:23 +01:00
epenet
f3084165b1
Add missing mock in filesize config flow tests ( #89441 )
2023-03-09 19:04:51 +01:00
epenet
4e4608183e
Add missing mock in fibaro config flow tests ( #89440 )
2023-03-09 19:04:07 +01:00
epenet
adfd263635
Add missing mock in gree config flow tests ( #89450 )
2023-03-09 18:12:22 +01:00
Stefan Agner
f903c536fb
Add Hardkernel ODROID-M1 ( #89431 )
...
* Add Hardkernel ODROID-M1
Add Hardkernel ODROID-M1 machine. ODROID-M1 is a Rockchip RK3568B2 SoC
based single board computer with 4xCortex-A55, NVMe support and up to
8GB of RAM.
* Update homeassistant/components/hardkernel/hardware.py
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
* Fix tests
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2023-03-09 14:18:19 +01:00
epenet
dcff2f37f7
Add DSL prefix to SFRBox ADSL sensors ( #89276 )
2023-03-09 13:19:22 +01:00
epenet
4a082403eb
Add missing mock in coronavirus config flow tests ( #89428 )
2023-03-09 13:16:36 +01:00
epenet
b0631fed1d
Add missing mock in braviatv config flow tests ( #89419 )
2023-03-09 13:05:32 +01:00
epenet
9faf251321
Add missing mock in buienradar config flow tests ( #89420 )
2023-03-09 13:05:04 +01:00
TheJulianJES
3989ef8863
Parse attribute reports for ZHA select entity ( #89418 )
...
* Parse attribute reports for ZHA select entity
* Add test for checking that select entity attribute reports are parsed
2023-03-09 07:01:18 -05:00
Jan Bouwhuis
1a4b14c217
Fix MQTT rgb light brightness scaling ( #89264 )
...
* Normalize received RGB colors to 100% brightness
* Assert on rgb_color attribute
* Use max for RGB to get brightness
* Avoid division and add clamp
* remove clamp
Co-authored-by: Erik Montnemery <erik@montnemery.com>
---------
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2023-03-09 08:02:59 +01:00
Joakim Sørensen
e5ce8e920d
Add paths for add-on changelog and documentation ( #89411 )
2023-03-08 20:23:33 -05:00
J. Nick Koston
170a13302c
Reduce overhead to store context ids in the database ( #88942 )
2023-03-08 14:51:45 -10:00
Matthias Alphart
bfae8992a9
Better log message for KNX expose conversion error ( #89400 )
2023-03-08 22:42:07 +01:00
Jan Bouwhuis
366baef7f6
Allow enum as MQTT sensor device_class ( #89391 )
2023-03-08 22:35:06 +01:00
J. Nick Koston
e1d62b554a
Migrate integration_platform helper to use async_get_integrations ( #89303 )
...
* Migrate integration_platform helper to use async_get_integrations
We were fetching integrations inside the gather one
at a time. This is inefficent.
* cleanup
* cleanup
* add task name
* small tweaks
* gather only if we have tasks
2023-03-08 16:01:47 -05:00
J. Nick Koston
5dbab21f9a
Fix missing f-string in filterable_job ( #89340 )
...
* Fix missing f-string in filterable_job
* remove bad test
2023-03-08 15:53:48 -05:00
Erik Montnemery
09915f8047
Add WS API for getting an OTBR's extended address ( #89384 )
...
* Add WS API for getting an OTBR's extended address
* Bump python-otbr-api to 1.0.8
* Really add require_admin decorator to otbr WS API
2023-03-08 15:52:53 -05:00
J. Nick Koston
cefba7c638
Avoid falling back to listening for all states when a template render raises an exception ( #89392 )
...
When a template render raised an exception we would start listening for
all states until the template did not raise an exception anymore. This
was not needed since the entity that is causing the exception was
already in the tracker.
Re-rendering on all state changes can be extremely expensive and can
bring an instance into a sluggish or unresponsive state when updating
from a much older version that did not raise ValueError when a default
was missing.
2023-03-08 15:50:34 -05:00
parliament119
7d97653895
Bump pyfritzhome to 0.6.8 and add support for Non-Color-Bulbs ( #89141 )
2023-03-08 18:24:37 +01:00
Erik Montnemery
18cb53a35c
Pass hass instance when validating templates ( #89242 )
...
* Pass hass instance when validating templates
* Update tests
* Fix validating templates without hass
* Update service tests
2023-03-08 11:28:53 -05:00
epenet
7982f713e1
Fix lingering tasks in plex ( #89282 )
...
* Cleanup expected_lingering_tasks in plex
* Adjust
2023-03-08 10:53:08 -05:00
epenet
3e2ee7cd11
Add missing mock in aemet config flow tests ( #89360 )
2023-03-08 10:18:44 -05:00
epenet
33906059d3
Add missing mock in airq config flow tests ( #89364 )
2023-03-08 10:18:31 -05:00
epenet
3a40f5f35b
Add missing mock in airvisual_pro config flow tests ( #89362 )
2023-03-08 15:18:24 +00:00
epenet
23698eb99f
Add missing mock in agent_dvr config flow tests ( #89361 )
2023-03-08 15:18:17 +00:00
epenet
959c2205d5
Add missing mock in airvisual config flow tests ( #89359 )
2023-03-08 10:18:07 -05:00
epenet
b61ad43144
Add missing mock in amber config flow tests ( #89358 )
2023-03-08 10:17:45 -05:00
epenet
f4572a2e1c
Add missing mock in atag config flow tests ( #89356 )
2023-03-08 10:16:51 -05:00
epenet
ea6a95176d
Add missing mock in azure event hub config flow tests ( #89355 )
2023-03-08 10:16:28 -05:00
Franck Nijhof
feb3f543be
Improve Supervisor API handling ( #89379 )
2023-03-08 15:21:11 +01:00
epenet
30884f6d17
Add missing mock in axis config flow tests ( #89365 )
2023-03-08 09:38:55 +01:00
epenet
adb4414440
Add missing mock in brother config flow tests ( #89354 )
2023-03-08 08:43:07 +01:00
puddly
fa128fbcec
Clean ZHA radio path with trailing whitespace ( #89299 )
...
* Clean config flow entries with trailing whitespace
* Rewrite the config entry at runtime, without upgrading
* Skip intermediate `data = config_entry.data` variable
* Perform a deepcopy to ensure the config entry will actually be updated
2023-03-07 20:24:08 -05:00
J. Nick Koston
bde40cde48
Fix thread diagnostics loading blocking the event loop ( #89307 )
...
* Fix thread diagnostics loading blocking the event loop
* patch target
2023-03-07 20:21:26 -05:00