Commit Graph
51270 Commits
Author SHA1 Message Date
Franck Nijhof 78fe1fb102 Bumped version to 2022.7.0b0 2022.7.0b0 2022-06-29 19:29:36 +02:00
Zack BarettandGitHub 466ba47b35 Frontend bump to 20220629.0 (#74180) 2022-06-29 12:10:21 -05:00
TheJulianJESandGitHub 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
d6e9118f36 IntelliFire DHCP Discovery Patch (#72617)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 12:01:18 -05:00
Phil BrucknerandGitHub 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
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
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
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 JohanssonandGitHub 97dcfe4445 Smhi reverse change of unique id change (#74176) 2022-06-29 17:13:07 +02:00
Erik MontnemeryandGitHub 4e079c4417 Fix typo in recorder (#74178) 2022-06-29 09:50:24 -05:00
Erik MontnemeryandGitHub d3f4108a91 Support knots and ft/s in weather wind speed (#74175) 2022-06-29 16:34:41 +02:00
Aaron BachandGitHub e6d115e765 Add time remaining sensors for RainMachine programs (#73878) 2022-06-29 09:27:34 -05:00
Anders LiljekvistandGitHub f5d8487768 Add send_poll to telegram bot (#68666) 2022-06-29 07:08:58 -07:00
Guido SchmitzandGitHub 8dd5f25da9 Add cover tests for devolo_home_control (#72428) 2022-06-29 06:46:32 -07:00
Rami MoslehandGitHub 8905e6f726 Use DataUpdateCoordinator for mikrotik (#72954) 2022-06-29 08:32:29 -05:00
jjlawrenandGitHub 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
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 DegatanoandGitHub 9392f59913 Trigger Alexa routines from toggles and buttons (#67889) 2022-06-29 13:56:02 +02:00
beren12andGitHub 4bdec1589d Ambient sensors are not diagnostic/internal (#73928) 2022-06-29 13:10:48 +02:00
Eric SvärdandGitHub 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
epenetandGitHub 5167535b03 Add LightEntity type hint checks to pylint plugin (#73826) 2022-06-29 12:51:37 +02:00
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
KholeandGitHub f6f7fa1c2d Add Hive power usage sensor (#74011) 2022-06-29 12:39:35 +02:00
epenetandGitHub a6ef330b63 Add ButtonEntity to pylint checks (#74171) 2022-06-29 12:36:57 +02:00
Robert SvenssonandGitHub fd89108483 Move add/remove logic of deCONZ groups to gateway class (#73952) 2022-06-29 12:31:50 +02:00
Joakim SørensenandGitHub 29a546f4e8 Remove deprecated YAML import for Tautulli (#74172) 2022-06-29 12:29:47 +02:00
Malte FrankenandGitHub 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åhlandGitHub 21e765207c Bump pyatv to 0.10.2 (#74119) 2022-06-29 12:03:32 +02:00
Erik MontnemeryandGitHub c186a73e57 Tweak speed util (#74160) 2022-06-29 12:01:09 +02:00
Michał HurynandGitHub b5af96e4bb Bump blebox_uniapi to 2.0.0 and adapt integration (#73834) 2022-06-29 11:57:55 +02:00
epenetandGitHub 078c5cea86 Adjust async_step_reauth in blink (#74167) 2022-06-29 11:54:21 +02:00
epenetandGitHub 2fce301b34 Adjust async_step_reauth in broadlink (#74168) 2022-06-29 11:53:35 +02:00
epenetandGitHub 9c991d9c6f Adjust async_step_reauth in isy994 (#74169) 2022-06-29 11:53:08 +02:00
epenetandGitHub 306486edfd Adjust async_step_reauth in smarttub (#74170) 2022-06-29 11:51:57 +02:00
epenetandGitHub 1b85929617 Adjust async_step_reauth in samsungtv (#74165) 2022-06-29 11:46:59 +02:00
epenetandGitHub 75efb54cc2 Adjust async_step_reauth in apple_tv (#74166) 2022-06-29 11:45:31 +02:00
starkillerOGandGitHub 79fdb0d847 Netgear add update entity (#72429) 2022-06-29 11:43:51 +02:00
Jaroslav HanslíkandGitHub 5b73cb10c1 MWh is valid unit for energy dashboard (#73929)
MWh is valid unit for energy
2022-06-29 11:42:52 +02:00
epenetandGitHub ebf21d1bd7 Add BinarySensorEntity to pylint checks (#74131) 2022-06-29 11:41:56 +02:00
starkillerOGandGitHub f2809262d5 Netgear add CPU and Memory utilization sensors (#72667) 2022-06-29 11:28:46 +02:00
epenetandGitHub d323508f79 Add type hints to async_step_reauth (#74164) 2022-06-29 11:25:37 +02:00
Robert HillisandGitHub 500105fa86 Move Tautulli attributes to their own sensors (#71712) 2022-06-29 11:21:01 +02:00
Aaron BachandGitHub 981249d330 Ensure _attr_native_value type matches what SensorExtraStoredData produces (#73970) 2022-06-29 11:16:06 +02:00
epenetandGitHub 1970e36f10 Fix CI (tuya number and abode light) (#74163)
* Fix tuya unit_of_measurement

* Fix abode ColorMode
2022-06-29 11:03:53 +02:00
mbo18andGitHub 9d73f9a2c5 Move power and energy attributes to sensors for SmartThings Air conditioner (#72594)
Move power and energy attribute to sensor for Air conditioner
2022-06-29 11:02:20 +02:00
e64336cb91 Allow configuring username and password in generic camera config flow (#73804)
* Add ability to use user & pw not in stream url

* Increase test coverage to 100%

* Increase test coverage

* Verify that stream source includes user:pass

* Code review: refactor test to use MockConfigEntry

* Code review: Improve test docstring

* Edit comment; retrigger CI.

Co-authored-by: Dave T <davet2001@users.noreply.github.com>
2022-06-29 10:54:04 +02:00
Erik MontnemeryandGitHub fbaff21b67 Format viaggiatreno/sensor.py (#74161) 2022-06-29 10:43:58 +02:00
Erik MontnemeryandGitHub 1590c0a46c Migrate abode light to color_mode (#69070) 2022-06-29 10:42:24 +02:00
alexanv1andGitHub 0404c76c41 Add Tuya Sous Vide Cooker (#69777) 2022-06-29 10:29:19 +02:00
Lorenzo MilesiandGitHub 8087982193 Update base url for ViaggiaTreno API (#71974) 2022-06-29 10:25:38 +02:00