Commit graph

14072 commits

Author SHA1 Message Date
Erik Montnemery
a6ff8c5fb3
Fix Home Assistant Yellow tests (#82212) 2022-11-16 13:01:53 -06:00
Erik Montnemery
aaec464627
Add support for managing the silabs multiprotocol add-on (#82170)
* Add support for managing the silabs multiprotocol add-on

* Fix passing context when starting option flow

* Allow unloading a ha yellow config entry

* Fix tests

* Log data passed to ZHA option flow

* Improve ZHA migration logic

* Move tests

* Improve test coverage

* Remove dead code

* Drop automatic ZHA migration
2022-11-16 17:38:07 +01:00
Erik Montnemery
607a0e7697
Reduce size of get_statistics_during_period WS API response (#82131) 2022-11-16 17:36:30 +01:00
Erik Montnemery
bb64b39d0e
Minor refactor of zha config flow (#82200)
* Minor refactor of zha config flow

* Move ZhaRadioManager to a separate module
2022-11-16 17:13:23 +01:00
J. Nick Koston
03e6132d98
Fix static version in homekit tests (#82201) 2022-11-16 09:37:00 -06:00
rappenze
f87ef742e8
Use parameterized test for better code readability (#82194)
* Use parameterized test for better code readability

* Use parameterized test for better code readability

* Update tests/components/fibaro/test_config_flow.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-11-16 15:27:20 +01:00
Yukon Vinecki
9098592257
Fix Z-Wave JS cover stop support (#78723)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-11-16 13:14:14 +01:00
Erik Montnemery
1582d88957
Remove deprecated history WS API (#82136) 2022-11-16 12:54:03 +01:00
Robert Svensson
af6338343e
Remove (2021) backwards supporting functionality from UniFi (#81981) 2022-11-16 12:49:10 +01:00
Erik Montnemery
9b8f94363c
Fix statistic_during_period for data with holes (#81847) 2022-11-16 12:46:29 +01:00
rappenze
ff1ec7a028
Normalize url entered in fibaro integration setup dialog (#81996)
* Normalize url entered in fibaro integration setup dialog

* Improvements as suggested in code review

* Fix spelling in comments
2022-11-16 10:44:34 +01:00
Franck Nijhof
5b29fe650b
Revert "Wake on LAN yaml configuration move to integration key" (#82184) 2022-11-16 10:22:50 +01:00
cnico
c7dfd6b15a
Add flipr battery level sensor (#81389)
* Addition of battery level sensor. Correction of pylint errors

* Review improvement for typing

* Review improvement for typing

* Correction following review
2022-11-16 09:42:31 +01:00
G Johansson
52298a251b
Wake on LAN yaml configuration move to integration key (#81249)
* Wake on Lan integration yaml

* clean code

* Add test

* Add test fixture

* Address loading
2022-11-16 06:23:48 +01:00
Kevin Stillhammer
aedbfdabee
Use HERE API v8 (#80892)
* Use HERE API v8

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

* Add migration

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

* Catch correct voluptuous error

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>

* Use list comprehension for transit values

* Add migration alternative

Signed-off-by: Kevin Stillhammer <kevin.stillhammer@gmail.com>
2022-11-15 19:04:41 -08:00
J. Nick Koston
682187541f
Move BluetoothServiceInfoBleak to home_assistant_bluetooth (#82064) 2022-11-15 14:00:52 -06:00
J. Nick Koston
435fc23737
Add shelly ble scanner support (#82007) 2022-11-15 12:34:45 -06:00
Jan Bouwhuis
7932864e00
Always update attributes on an update for MQTT update (#82139) 2022-11-15 18:43:01 +01:00
J. Nick Koston
ade4b62aec
Fix instability with HomeKit trigger accessories (#80703)
fixes https://github.com/home-assistant/core/issues/78774
fixes https://github.com/home-assistant/core/issues/81685
2022-11-15 18:41:55 +01:00
G Johansson
9eef5129f0
Full test coverage Min Max (#82053) 2022-11-15 09:04:22 -06:00
epenet
4cce359960
Fix legacy scrape scan interval (#81764)
* Fix legacy scrape scan interval

* Adjust init

* Adjust tests

* Clearer default
2022-11-15 13:39:30 +01:00
uvjustin
6bab63fb0a
Redact more credentials in stream URL query params (#82089)
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-11-15 12:42:40 +08:00
J. Nick Koston
956120662e
Add the ability to register for shelly event callbacks (#82052) 2022-11-14 19:58:10 +01:00
G Johansson
13577981f9
Local ip tests (#82051) 2022-11-14 12:20:45 -06:00
Ernst Klamer
af73afa2e2
Add support for HHCCJCY10 to xiaomi_ble (#82069) 2022-11-14 11:18:51 -06:00
J. Nick Koston
1ded3ac51e
Poll HomeKit Controller locks for state after lock operation (#82058) 2022-11-14 10:54:28 -06:00
Erik Montnemery
de313dcc3f
Improve config tests (#81898)
* Improve config tests

* Fix stale docstring

* Use os.path.basename
2022-11-14 11:13:20 +01:00
Thomas Dietrich
a0b0e4088c
Replace quantiles by percentile characteristic for statistics component (#81027)
* Remove quantiles characteristic

* Add percentile characteristic
2022-11-14 09:23:02 +01:00
Avi Miller
42652872f6
Restore color_temp handling for lifx.set_state (#82067)
fixes undefined
2022-11-13 19:43:45 -06:00
G Johansson
48f6c9a486
Add tests DNS IP (#82059) 2022-11-13 18:23:14 -06:00
Christopher Bailey
ae436d46fc
Add options to UniFi Protect diagnostics (#82062) 2022-11-13 17:57:09 -06:00
J. Nick Koston
f584efa0c2
Move bluetooth remote scanner implementation into a base class (#82012) 2022-11-13 14:18:36 -06:00
Oliver Dippel
bd28483b43
Fix ibeacon source attribute not being updated (#81740)
fixes undefined
2022-11-13 14:17:59 -06:00
Avi Miller
fe7ffe9519
Enable more customization of the LIFX pulse and color loop effects (#81699) 2022-11-13 10:59:47 -06:00
Christopher Bailey
bfd2eb50b2
Detect Early Access versions of UniFi Protect and Warn User (#81758) 2022-11-13 09:34:29 -06:00
G Johansson
50c686343e
Bump pysensibo to 1.0.21 (#82023)
* pysensibo 1.0.21

* Add name to fixture
2022-11-13 16:05:54 +01:00
David F. Mulcahey
ebffe0f33b
Fix ZHA configuration APIs (#81874)
* Fix ZHA configuration loading and saving issues

* add tests
2022-11-13 08:30:16 -05:00
corneyl
a848dc1155
Add service for adding products to a Picnic order (#67877)
* Add Picnic services for searching products and adding products to the cart

* Improve the Picnic services implementation and add unit tests

* Fix pre-commit check issues

* Fix comments and example product name

* Remove search service, update add_product service schema

* Fix pylint suggestion

* Add more tests and removed unused code

* Remove code needed for the removed service, clean tests from obvious comments and add type hints

* Remove unused import

* Remove unnecessary comments and simplify getting the config entry id

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Don't use hass.data in tests, make device id mandatory for service

* Rewrite all service tests so using lru.cache is not needed

* Add test for uncovered line in _product_search()

* Require a config entry id as service parameter instead of device id

* Use explicit check in get_api_client() and raise HomeAssistantError

* Fix HomeAssistantError import, fix services tests

* Change HomeAssistantError to ValueError when config entry is not found

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-11-12 20:15:45 -08:00
Ian Byrne
9be2704c11
Add option to include attachments from remote URL to Discord notifications (#74811)
* Add option to include attachments from remote URL to Discord notifications

* Use aiohttp instead of requests for Discord Notify URL retrieval

* Refactor discord notifications code

* Remove unecessary images check in discord notifier
2022-11-12 16:11:06 -08:00
Ziv
b6c27585c7
Implemented RestoreEntity for Dynalite (#73911)
* Implemented RestoreEntity
Merged commit conflict

* removed accidental change

* Update homeassistant/components/dynalite/dynalitebase.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* added tests for the state

* added tests for switch state

* moved to ATTR_x and STATE_x instead of strings
some fixes to test_cover

* moved blind to DEVICE_CLASS_BLIND

* used correct constant instead of deprecated

* Implemented RestoreEntity

* removed accidental change

* added tests for the state

* added tests for switch state

* moved to ATTR_x and STATE_x instead of strings
some fixes to test_cover

* fixed isort issue from merge

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-11-12 22:59:29 +01:00
On Freund
4bb1f4ec79
Add Armed binary sensor to local Risco (#81997) 2022-11-12 21:29:31 +01:00
uvjustin
ee910bd0e4
Refactor camera stream settings (#81663) 2022-11-13 01:22:59 +08:00
epenet
1baa5c12c0
Fix rest schema (#81857) 2022-11-11 10:08:26 -06:00
J. Nick Koston
78180b2ad8
Fix bluetooth adapters with missing firmware patch files not being discovered (#81926) 2022-11-10 14:14:37 -06:00
Allen Porter
e6d1a4a422
Revert google calendar back to old API for free/busy readers (#81894)
* Revert google calendar back to old API for free/busy readers

* Update homeassistant/components/google/calendar.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-11-10 08:31:28 -08:00
Erik Montnemery
a2da1c7db5
Create repairs issue if an outdated currency code is configured in core store (#81772)
* Create repairs issue if an outdated currency code is configured in core store

* Update homeassistant/config.py

Co-authored-by: Aarni Koskela <akx@iki.fi>

Co-authored-by: Aarni Koskela <akx@iki.fi>
2022-11-10 17:28:19 +01:00
Erik Montnemery
9bd676aff6
Improve automation reload (#81854)
* Improve automation reload

* Small tweak

* Improve
2022-11-10 14:44:55 +01:00
Matthias Alphart
ee9231363f
Refactor KNX Config and Options flows (#80641) 2022-11-10 14:25:41 +01:00
Erik Montnemery
874ece195e
Include config entry id in response to WS API hardware/info (#81906) 2022-11-10 13:19:21 +01:00
Martin Hjelmare
9ded232522
Move zwave_js addon manager to hassio integration (#81354) 2022-11-10 10:09:52 +01:00