Commit graph

12846 commits

Author SHA1 Message Date
epenet
18840c8af5
Add instance attributes to GeolocationEvent (#74389) 2022-07-04 16:43:53 +02:00
J. Nick Koston
8d0e54d776
Use the orjson equivalent default encoder when save_json is passed the default encoder (#74377) 2022-07-04 08:41:23 -05:00
Guido Schmitz
402a40c108
Remove explicit use of mock_zeroconf in devolo Home Network (#74390) 2022-07-04 14:59:24 +02:00
J. Nick Koston
6c3baf03aa
Make dispatcher setup lazy (#74374) 2022-07-04 14:58:35 +02:00
epenet
14e5001d0c
Cleanup known_devices.yaml in device_tracker tests (#74404) 2022-07-04 14:10:25 +02:00
Erik Montnemery
0768ed453d
Migrate aemet to native_* (#74037) 2022-07-04 14:06:32 +02:00
Paulus Schoutsen
b62c0dcb32
Guard invalid data sensor significant change (#74369) 2022-07-03 22:03:13 -07:00
J. Nick Koston
02c7261b74
Small naming improvements and basic tests for ecobee 501s (#74370) 2022-07-03 16:32:30 -05:00
J. Nick Koston
30a5df5895
Append name char value from the service to HomeKit Controller Entities (#74359) 2022-07-03 15:47:54 -05:00
Dave T
737a1fd9fa
Dont substitute user/pass for relative stream urls on generic camera (#74201)
Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2022-07-03 13:26:00 -07:00
Maciej Bieniek
84119eefaa
Add NextDNS integration (#74150)
* Initial commit

* Update manifest

* Add first test

* Simplify init

* More tests

* Update tests

* More tests

* More tests

* Add tests for sensor platform

* More tests for sensor platform

* Add tests for system_health

* Fix typo

* Improve test coverage

* Improve test coverage

* Add tests for diagnostics

* Add comment

* Run hassfest

* Fix typo

* Run gen_requirements_all

* Fix tests

* Change key name in diagnostics

* Remove diagnostics and system_health platforms

* Bump library
2022-07-03 09:51:50 -07:00
Michał Huryn
e7e940afa5
Address Blebox uniapi review sidenotes (#74298)
* Changes accordingly to sidenotes given by @MartinHjelmare in pull #73834.

* Mini version bump according to notes in pull #73834.

* Error message fix, test adjustment.
2022-07-03 17:06:38 +02:00
Allen Porter
a4c6cd2fbe
Cleanup Google Calendar unused test fixtures (#74353) 2022-07-03 17:05:38 +02:00
avee87
98052646f2
Remove visibility from metoffice weather (#74314)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-02 13:42:58 -07:00
avee87
08c2bd82bd
Migrate metoffice to native_* (#74312) 2022-07-02 13:27:47 -07:00
David Barshow
c24c6b38b1
Support climate reproduce state fan_mode (#74317)
climate reproduce state fan_mode support
2022-07-02 13:04:38 -07:00
Shay Levy
d56a487169
Fix CI failure due to integrations leaving dirty known_devices.yaml (#74329) 2022-07-02 11:20:40 -07:00
atlflyer
da11cef29a
Report error code in log when command fails (#74319) 2022-07-02 09:58:08 -04:00
Paulus Schoutsen
810e29f1ef
Guard creating areas in onboarding (#74306) 2022-07-01 11:01:07 -07:00
J. Nick Koston
1288085b31
Revert scrape changes to 2022.6.6 (#74305) 2022-07-01 10:10:40 -07:00
danaues
72917f1d2c
Lutron caseta ra3keypads (#74217)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-07-01 10:39:00 -05:00
Álvaro Fernández Rojas
c0ea1a38a6
Fix QNAP QSW DHCP discover bugs (#74291)
qnqp_qsw: fix DHCP discover bugs

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-07-01 11:52:46 +02:00
Álvaro Fernández Rojas
a58301a97d
Improve qnap_qsw firmware coordinator failures (#74288)
qnap_qsw: update: improve firmware coordinator failures

Address late comments from @MartinHjelmare (MartinHjelmare).

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-07-01 09:48:59 +02:00
Stefan Rado
273e9b287f
Add config flow for Bose SoundTouch (#72967)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-30 22:20:00 -07:00
Guido Schmitz
43595f7e17
Add light tests for devolo_home_control (#74183) 2022-06-30 21:08:21 -07:00
rappenze
7eae3691c2
Add device info to fibaro integration (#73352) 2022-06-30 14:57:35 -07:00
Joakim Plate
11cdf542ac
Bump pyRFXtrx to 0.30.0 (#74146) 2022-06-30 14:48:50 -07:00
David F. Mulcahey
269fa14721
Fix bad conditional in ZHA logbook (#74277)
* Fix bad conditional in ZHA logbook

* change syntax
2022-06-30 23:59:35 +03:00
mbo18
24d2d62121
Add vacation mode to Template Alarm Control Panel (#74261) 2022-06-30 12:22:03 -07:00
Guido Schmitz
7656ca8313
Add presence detection to devolo_home_network (#72030) 2022-06-30 12:12:12 -07:00
epenet
8ef87205f9
Improve type hints in mqtt (#74247) 2022-06-30 21:11:45 +02:00
Álvaro Fernández Rojas
768b98ae77
Add QNAP QSW Update platform (#71019)
* qnap_qsw: add Update platform

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* qnap_qsw: update: allow init if firmware coordinator fails

QSW API can return an error if update servers aren't reachable and this
prevents the integration from loading.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* tests: qnap_qsw: achieve 100% coverage

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-06-30 12:09:08 -07:00
epenet
1bfd8b1a76
Add enforce_type_hints to vscode tasks (#74227) 2022-06-30 20:49:41 +02:00
Maximilian
dc22726425
Optimize optionflow tests (#74262)
* Optimize optionflow tests

* Extend mocking
2022-06-30 19:45:11 +02:00
Jesse Hills
f311d53c60
ESPHome use dhcp responses to update connection host of known devices (#74206)
* ESPHome use dhcp responses to update connection host of known devices

* Add test for dhcp

* Add another test to cover when there are no changes required
2022-06-30 10:07:03 -07:00
David F. Mulcahey
8bcccb17f9
Fix ZHA events for logbook (#74245) 2022-06-30 10:03:39 -07:00
MasonCrawford
5fa3b90b2c
Add config flow to lg_soundbar (#71153)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-30 10:00:39 -07:00
Paulus Schoutsen
7573dc34aa
Treat thermostat unknown state like unavailable in alexa (#74220) 2022-06-30 10:00:10 -07:00
Pierre Ståhl
de700e7859
Make media_player.toggle turn on a standby device (#74221) 2022-06-30 09:59:46 -07:00
Alex Henry
f5c6a6be3a
Add config flow to AnthemAV integration (#53268)
* Add config flow to AnthemAV integration

* Add importing of existing configuration

* Change setting to optional and add default value

* Use entity attribute

* Reduce changes by removing additional media player properties

* Remove title from translation

* Refactor config flow and fix PR comments

* Fix a failing test because of wrong renaming

* Add typing and use existing class and enum

* Bump dependency to v1.3.1

* Remove unecessary async_reload_entry

* Fix requirements_test_all after rebase

* Add const for timeout and remove async_block in test

* Reapply CodeOwner and configflow after rebase

* Remove name from configflow

* Fix manifest prettier failure

* Simplify code and avoid catching broad exception

* Removed unused strings and translations

* Avoid asserting hass.data
2022-06-30 07:13:08 -07:00
Franck Nijhof
3a57f4363f
Revert "Patch out life360 entry setup in tests" (#74223)
Revert "Patch out life360 entry setup in tests (#74212)"

This reverts commit ab6e92f996.
2022-06-30 09:13:25 +02:00
Allen Porter
0cf922cc4e
Allow legacy nest integration with no configuration.yaml (#74222) 2022-06-30 08:54:51 +02:00
Kevin Stillhammer
bef512c425
Split attributes into sensors for here_travel_time (#72405) 2022-06-29 22:09:52 -07:00
Franck Nijhof
555e9c6762
Fix input_number invalid state restore handling (#74213)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 22:06:35 -07:00
Franck Nijhof
ab6e92f996
Patch out life360 entry setup in tests (#74212) 2022-06-29 17:35:49 -07:00
J. Nick Koston
e2fe1a1c5d
Allow tuple subclasses to be json serialized (#74207) 2022-06-29 19:14:56 -05:00
Christopher Bailey
1555f40bad
Add UniFi Protect views (#74190)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 18:10:38 -05:00
Phil Bruckner
0a65f53356
Convert life360 integration to entity based (#72461)
* Convert life360 integration to entity based

* Improve config_flow.py type checking

* Add tests for config flow

Fix form defaults for reauth flow.

* Cover reauth when config entry loaded

* Update per review (except for dataclasses)

* Restore check for missing location information

This is in current code but was accidentally removed in this PR.

* Fix updates from review

* Update tests per review changes

* Change IntegData to a dataclass

* Use dataclasses to represent fetched Life360 data

* Always add extra attributes

* Update per review take 2

* Tweak handling of bad last_seen or location_accuracy

* Fix type of Life360Member.gps_accuracy

* Update per review take 3

* Update .coveragerc

* Parametrize successful reauth flow test

* Fix test coverage failure

* Update per review take 4

* Fix config schema
2022-06-29 18:40:02 +02:00
Jeef
b6f16f87a7
Bump intellifire4py to 2.0.0 (#72563)
* Enable Flame/Pilot switch

* Enable Flame/Pilot switch

* Update homeassistant/components/intellifire/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/intellifire/switch.py

Thats a great fix!

Co-authored-by: J. Nick Koston <nick@koston.org>

* write not update

* fixed forced upates

* removed data field

* Refactor to support update to backing library

* pre-push-ninja-style

* moving over

* fixed coverage

* removed tuple junk

* re-added description

* Update homeassistant/components/intellifire/translations/en.json

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

* adressing PR comments

* actually store generated values

* Update homeassistant/components/intellifire/__init__.py

Way better option!

Co-authored-by: J. Nick Koston <nick@koston.org>

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-06-29 10:51:39 -05:00
Arne Mauer
fa678d0408
New sensors and manufacturer cluster to support IKEA STARKVIND (with Quirk) (#73450)
* Add Particulate Matter 2.5 of ZCL concentration clusters to ZHA component

* Fixed black and flake8 test

* New sensors and manufacturer cluster to support IKEA STARKVIND (with quirk)

* Isort and codespell fixes

* Instead using the fan cluster, i've created a Ikea air purifier cluster/channel that supports all sensors and fan modes

* update sensors to support the new ikea_airpurifier channel

* Fix black, flake8, isort

* Mylint/mypy fixes + Use a TypedDict for REPORT_CONFIG in zha #73629

* Last fix for test_fan.py

* fix fan test

Co-authored-by: David F. Mulcahey <david.mulcahey@me.com>
2022-06-29 11:44:40 -04:00