Commit Graph

51740 Commits (7283d1b7fbb715119a9ef94c9c0c4378e5a266e0)

Author SHA1 Message Date
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
epenet 57fd84e20c
Improve type hints in demo (#74236) 2022-06-30 15:34:48 +02:00
Franck Nijhof fdb7a23171
Update black to 22.6.0 (#74209)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-30 10:08:06 +02:00
Erik Montnemery 407da8c4b8
Correct native_pressure_unit for zamg weather (#74225) 2022-06-30 09:42:15 +02: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
Marc Mueller 42d7f2a3b2
Update pylint to 2.14.4 (#74192) 2022-06-30 08:56:43 +02:00
Allen Porter 0cf922cc4e
Allow legacy nest integration with no configuration.yaml (#74222) 2022-06-30 08:54:51 +02:00
Marc Mueller 48c5aab5ee
Fix netgear method return type annotation (#74200) 2022-06-30 08:16:05 +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 f721b9e3df
Fix clicksend request content type headers (#74189) 2022-06-29 20:43:14 -05:00
Franck Nijhof 42533ebbb3
Update requests to 2.28.1 (#74210) 2022-06-29 20:40:58 -05:00
Franck Nijhof ab6e92f996
Patch out life360 entry setup in tests (#74212) 2022-06-29 17:35:49 -07:00
GitHub Action 721741281e [ci skip] Translation update 2022-06-30 00:23:07 +00: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
Shay Levy 0028dc46e6
Fix Shelly Duo RGBW color mode attribute (#74193) 2022-06-30 01:10:25 +02:00
Christopher Bailey e4bd53b395
Fix duplicate key for motion sensor for UniFi Protect (#74202) 2022-06-30 00:52:54 +02:00
Franck Nijhof fe68c15a4a
Bump version to 2022.8.0dev0 (#74184) 2022-06-29 21:20:57 +03:00
Jeef 6127a9a041
Intellifire climate Entity (#70818)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 13:01:38 -05:00
Franck Nijhof 78fe1fb102
Bumped version to 2022.7.0b0 2022-06-29 19:29:36 +02:00
Zack Barett 466ba47b35
Frontend bump to 20220629.0 (#74180) 2022-06-29 12:10:21 -05:00
TheJulianJES 4d673278c7
Fix color transition when turning on a ZHA light (#74024)
* Initial implementation of fixing color transition when turning on a ZHA light

* Add off_with_transition attribute, very slightly cleanup

* Fix unnecessarily using last off_brightness when just turning on light

Now it uses the Zigbee on_off call again if possible (instead of always move_to_level_with_on_off)

* Use DEFAULT_TRANSITION constant for color transition, add DEFAULT_MIN_BRIGHTNESS constant

* Add _DEFAULT_COLOR_FROM_OFF_TRANSITION = 0 but override transition for Sengled lights to 0.1s
2022-06-29 13:09:52 -04:00
Jeef d6e9118f36
IntelliFire DHCP Discovery Patch (#72617)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 12:01:18 -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
Daniel Baulig 73bff4dee5
Expose Envisalink's zone number as an attribute (#71468)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 10:30:55 -05:00
G Johansson 97dcfe4445
Smhi reverse change of unique id change (#74176) 2022-06-29 17:13:07 +02:00
Erik Montnemery 4e079c4417
Fix typo in recorder (#74178) 2022-06-29 09:50:24 -05:00
Erik Montnemery d3f4108a91
Support knots and ft/s in weather wind speed (#74175) 2022-06-29 16:34:41 +02:00
Aaron Bach e6d115e765
Add time remaining sensors for RainMachine programs (#73878) 2022-06-29 09:27:34 -05:00
Anders Liljekvist f5d8487768
Add send_poll to telegram bot (#68666) 2022-06-29 07:08:58 -07:00
Guido Schmitz 8dd5f25da9
Add cover tests for devolo_home_control (#72428) 2022-06-29 06:46:32 -07:00
Rami Mosleh 8905e6f726
Use DataUpdateCoordinator for `mikrotik` (#72954) 2022-06-29 08:32:29 -05:00
jjlawren 329ecc74c4
Optimize Sonos join behavior when using `media_player.join` (#74174)
Optimize Sonos media_player.join service
2022-06-29 15:23:22 +02:00
Aidan Timson 46b4be5b41
Add boot time sensor to System Bridge (#73039)
* Add boot time to System Bridge

* Update homeassistant/components/system_bridge/sensor.py

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

* Add missing import

* Update homeassistant/components/system_bridge/sensor.py

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

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-06-29 08:24:50 -04:00
Mike Degatano 9392f59913
Trigger Alexa routines from toggles and buttons (#67889) 2022-06-29 13:56:02 +02:00
beren12 4bdec1589d
Ambient sensors are not diagnostic/internal (#73928) 2022-06-29 13:10:48 +02:00
Eric Svärd e32694c146
Make SolarEdge energy value validation a bit less aggressive (#69998)
* Make energy value validation a bit less aggressive

Attempt to solve issue 69600 introduced by previous fix for issue
59285.

- Introduce a tolerance factor for energy value validation.
- Only skip update the specific invalid energy entity. An energy entity
  with invalid values will now show "State unknown".

* Remove the tolerance factor. Let's just ignore the specific invalid energy entity.
2022-06-29 12:53:55 +02:00
epenet 5167535b03
Add LightEntity type hint checks to pylint plugin (#73826) 2022-06-29 12:51:37 +02:00
Frank e6daed9719
Add support for services to Home Connect (#58768)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-06-29 12:45:55 +02:00
Khole f6f7fa1c2d
Add Hive power usage sensor (#74011) 2022-06-29 12:39:35 +02:00
epenet a6ef330b63
Add ButtonEntity to pylint checks (#74171) 2022-06-29 12:36:57 +02:00
Robert Svensson fd89108483
Move add/remove logic of deCONZ groups to gateway class (#73952) 2022-06-29 12:31:50 +02:00
Joakim Sørensen 29a546f4e8
Remove deprecated YAML import for Tautulli (#74172) 2022-06-29 12:29:47 +02:00
Malte Franken 21d28dd356
Migrate usgs_earthquakes_feed to async library (#68370)
* use new async integration library

* migrate to new async integration library

* updated unit tests

* updated logger

* fix tests and improve test coverage

* fix test

* fix requirements

* time control to fix tests
2022-06-29 12:13:33 +02:00
Pierre Ståhl 21e765207c
Bump pyatv to 0.10.2 (#74119) 2022-06-29 12:03:32 +02:00
Erik Montnemery c186a73e57
Tweak speed util (#74160) 2022-06-29 12:01:09 +02:00
Michał Huryn b5af96e4bb
Bump blebox_uniapi to 2.0.0 and adapt integration (#73834) 2022-06-29 11:57:55 +02:00