Commit Graph

39885 Commits (fdaaed652384c43a0e8f17f630fa82fe20bc59cb)

Author SHA1 Message Date
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
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
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
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
epenet 078c5cea86
Adjust async_step_reauth in blink (#74167) 2022-06-29 11:54:21 +02:00
epenet 2fce301b34
Adjust async_step_reauth in broadlink (#74168) 2022-06-29 11:53:35 +02:00
epenet 9c991d9c6f
Adjust async_step_reauth in isy994 (#74169) 2022-06-29 11:53:08 +02:00
epenet 306486edfd
Adjust async_step_reauth in smarttub (#74170) 2022-06-29 11:51:57 +02:00
epenet 1b85929617
Adjust async_step_reauth in samsungtv (#74165) 2022-06-29 11:46:59 +02:00
epenet 75efb54cc2
Adjust async_step_reauth in apple_tv (#74166) 2022-06-29 11:45:31 +02:00
starkillerOG 79fdb0d847
Netgear add update entity (#72429) 2022-06-29 11:43:51 +02:00
Jaroslav Hanslík 5b73cb10c1
MWh is valid unit for energy dashboard (#73929)
MWh is valid unit for energy
2022-06-29 11:42:52 +02:00
starkillerOG f2809262d5
Netgear add CPU and Memory utilization sensors (#72667) 2022-06-29 11:28:46 +02:00
epenet d323508f79
Add type hints to async_step_reauth (#74164) 2022-06-29 11:25:37 +02:00
Robert Hillis 500105fa86
Move Tautulli attributes to their own sensors (#71712) 2022-06-29 11:21:01 +02:00
Aaron Bach 981249d330
Ensure `_attr_native_value` type matches what `SensorExtraStoredData` produces (#73970) 2022-06-29 11:16:06 +02:00
epenet 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
mbo18 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
Dave T 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 Montnemery fbaff21b67
Format viaggiatreno/sensor.py (#74161) 2022-06-29 10:43:58 +02:00
Erik Montnemery 1590c0a46c
Migrate abode light to color_mode (#69070) 2022-06-29 10:42:24 +02:00
alexanv1 0404c76c41
Add Tuya Sous Vide Cooker (#69777) 2022-06-29 10:29:19 +02:00
Lorenzo Milesi 8087982193
Update base url for ViaggiaTreno API (#71974) 2022-06-29 10:25:38 +02:00
epenet edc1ee2985
Add type hints to async_step_reauth in components (#74138) 2022-06-29 10:21:58 +02:00
epenet 6dc6e71f01
Use attributes in manual alarm (#74122) 2022-06-29 10:19:39 +02:00
Erik Montnemery 0769b33e19
Migrate darksky to native_* (#74047) 2022-06-29 10:16:23 +02:00
uvjustin f45afe7379
Use bitstream filter to allow ADTS AAC audio in stream (#74151) 2022-06-29 10:15:22 +02:00
J. Nick Koston 99329ef04f
Wait for discovery to complete before starting apple_tv (#74133) 2022-06-29 10:13:10 +02:00
Erik Montnemery 6a0ca2b36d
Migrate kostal_plenticore number to native_* (#74159) 2022-06-29 10:04:22 +02:00
Maximilian 20680535ec
Add options flow to NINA (#65890)
* Added options flow

* Resolve conflicts

* Fix lint

* Implement improvements
2022-06-29 09:52:21 +02:00
epenet aca0fd3178
Adjust type hints in rflink cover (#73946)
* Adjust type hints in rflink cover

* Move definition back to init

* Use attributes

* Revert "Use attributes"

This reverts commit ff4851015d.

* Use _attr_should_poll
2022-06-29 09:46:05 +02:00
Erik Montnemery 00810235c9
Track tasks adding entities (#73828)
* Track tasks adding entities

* Update homeassistant/config_entries.py

* fix cast tests

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-06-29 09:38:35 +02:00
Thomas Schamm 90c68085be
Differ device and domain entities in bosch_shc integration (#67957) 2022-06-28 22:08:16 -07:00
Chris Browet 596f60bdb5
Universal media player: ordered states (#68036) 2022-06-28 22:03:56 -07:00
Edward 22b8afe966
Propagate destination of watched folder moves (#70252) 2022-06-28 21:52:17 -07:00
Nick Dawson 9f15234b92
Add Anywair in IntesisHome (#71686) 2022-06-28 21:48:30 -07:00
Paul Annekov 551929a175
More sensors for SMS integration (#70486)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-06-28 21:37:23 -07:00
stegm 305dff0dc1
Add number platform for kostal_plenticore (#64927) 2022-06-28 21:29:21 -07:00
mletenay 9b60b0c23f
Keep sum energy sensors always available (#69218) 2022-06-28 21:09:24 -07:00
Christopher Bailey 54320ff134
UniFi Protect bugfixes (#74156) 2022-06-28 22:00:26 -05:00
J. Nick Koston 309cf030b0
Fix typo in enphase doc string (#74155) 2022-06-28 17:57:17 -07:00
J. Nick Koston 629c68221e
Avoid retriggering HomeKit doorbells on forced updates (#74141) 2022-06-28 19:54:27 -05:00
J. Nick Koston ee6866b8a3
Bump nexia to 2.0.1 (#74148) 2022-06-28 19:48:58 -05:00
GitHub Action f5fe210eca [ci skip] Translation update 2022-06-29 00:23:03 +00:00
starkillerOG ef76073d83
Add Netgear ethernet link status (#72582) 2022-06-28 14:31:15 -07:00
Felipe Santos 4aa8570107
Set Google Cast audio devices as speakers (#73832) 2022-06-28 23:26:25 +02:00
epenet ef5fccad9e
Use standard argument name in async_step_reauth (#74139) 2022-06-28 23:23:32 +02:00
Matthias Alphart 48c7e414f6
Update xknx to 0.21.5 - Fix discovery of IP-Secure interfaces (#74147) 2022-06-28 14:23:17 -07:00
mkmer c3a2fce5cc
Move to async for aladdin connect integration (#73954)
* Moved to AIOAladdinConnect API

* Added callback logic for door status

* close unused connections

* Close connection after verification

* Matched to current version

* Matched __init__.py to current release

* Matched cover.py to existing version

* added missing awaits

* Moved callback

* Bumped AIOAladdinConnect to 0.1.3

* Removed await from callback config

* Finished tests

* Added callback test

* Bumped AIOAladdinConnect to 0.1.4

* Finished tests

* Callback correct call to update HA

* Modified calls to state machine

* Modified update path

* Removed unused status

* Bumped AIOAladdinConnect to 0.1.7

* Revised test_cover cover tests and bumped AIOAladdinConnect to 0.1.10

* Bumped AIOAladdinConnect to 0.1.11

* Bumped AIOAladdinConenct to 0.1.12

* Bumped AIOAladdinConnect to 0.1.13

* Bumped AIOAladdinConnect to 0.1.14

* Added ability to handle multiple doors

* Added timout errors to config flow

* asyncio timout error added to setup retry

* Cleanup added to hass proceedure

* Bumped AIOAladdinConnect to 0.1.16

* Bumped AIOAladdinConnect to 0.1.18

* Bumped AIOAladdinConnect to 0.1.19

* Bumped AIOAladdinConnect to 0.1.20

* Addressed recommended changes: SCAN_INTERVAL and spelling

* Moved to async_get_clientsession and bumped AIOAladdinConnect to 0.1.21

* Missing test for new code structure

* removed extra call to write_ha_state, callback decorator, cleaned up tests

* Update tests/components/aladdin_connect/test_init.py

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

* Removed extra_attributes.

* Added typing to variable acc

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-28 23:22:18 +02:00
Thijs W 7d74301045
Add sound mode to frontier silicon (#72760) 2022-06-28 14:13:43 -07:00
Ville Skyttä 1a55c7db34
Take Huawei LTE XML parse errors to mean unsupported endpoint (#72781) 2022-06-28 14:13:26 -07:00
Stefan Rado efbd47c828
Rewrite SoundTouch tests to use mocked payloads (#72984) 2022-06-28 14:02:39 -07:00
Andre Lengwenus 389f1f4eda
Add lcn_codelock event and corresponding device trigger (#73022) 2022-06-28 14:01:18 -07:00
elBoz73 9e61c7ec49
Add target management for the service call (#73332) 2022-06-28 13:57:47 -07:00
Erik Montnemery 146ff83a16
Migrate rest binary_sensor and switch to TemplateEntity (#73307) 2022-06-28 13:53:38 -07:00
Robert Svensson abf67c3153
Normalize deCONZ binary sensor unique IDs (#73657) 2022-06-28 13:45:25 -07:00
Mick Vleeshouwer a284ebe771
Add support for Atlantic Electrical Towel Dryer to Overkiz integration (#73788) 2022-06-28 13:39:37 -07:00
Allen Porter 02d1676301
Fix unexpected exception in Google Calendar OAuth exchange (#73963) 2022-06-28 13:29:11 -07:00
Stefan Rado 1d185388a9
Bump homeconnect to 0.7.1 (#74130) 2022-06-28 22:22:53 +02:00
jjlawren 4bfdb1433e
Optimize Sonos unjoin behavior when using `media_player.unjoin` (#74086)
* Coalesce Sonos unjoins to process together

* Refactor for readability

* Skip unjoin call if already ungrouped

* Store unjoin data in a dedicated dataclass

* Revert import adjustment
2022-06-28 13:19:27 -07:00
puddly abe44a100f
Bump all of ZHA's zigpy dependencies (#73964)
Bump zigpy and radio library versions
2022-06-28 16:02:16 -04:00
Aaron Bach c4ad5aa68a
Bump simplisafe-python to 2022.06.1 (#74142) 2022-06-28 21:11:29 +02:00
epenet e0d2344db3
Use attributes in manual_mqtt alarm (#74124) 2022-06-28 10:31:33 -07:00
J. Nick Koston a8349a4866
Adjust entity filters to make includes stronger than excludes (#74080)
* Adjust entity filters to make includes stronger than excludes

Fixes #59080

* adjust test for stronger entity glob includes

* sync with docs
2022-06-28 11:42:51 -05:00
Maikel Punie 040ece76ab
Add velbus buttons platform (#73323) 2022-06-28 18:41:29 +02:00
Bryton Hall 9fef1004a2
Bump venstarcolortouch to 0.16 (#73038) 2022-06-28 18:38:30 +02:00
Erik Montnemery 26a85c6644
Add Entity.has_entity_name attribute (#73217) 2022-06-28 09:38:05 -07:00
starkillerOG c883aec711
Bump pynetgear to 0.10.6 (#74123) 2022-06-28 18:21:54 +02:00
Joakim Sørensen 2f60db6f80
Pin charset-normalizer to 2.0.12 (#74104) 2022-06-28 18:20:56 +02:00
Pierre Ståhl 54138cda41
Fix app browsing and local file streaming in Apple TV integration (#74112) 2022-06-28 09:08:31 -07:00
epenet b9c135870a
Fix model in vicare device_info (#74135) 2022-06-28 17:54:07 +02:00
epenet b51ad16db9
Adjust button type hints in components (#74132) 2022-06-28 17:19:03 +02:00
epenet dc039f5218
Use standard argument name in async_step_reauth (#74137) 2022-06-28 17:12:32 +02:00
J. Nick Koston 2225d0e899
Enable serialization of float subclasses with orjson (#74136) 2022-06-28 17:07:40 +02:00
David F. Mulcahey a053a3a8a4
Add cluster attr data to ZHA device diagnostics (#70238)
* Add cluster attr data to ZHA device diagnostics

* add unsupported attributes and refactor

* remove await

* make parseable
2022-06-28 11:01:27 -04:00
David F. Mulcahey 12c49e1c94
Add Aqara FP1 configuration entities to ZHA (#73027)
* add multi state input

* config entities

* remove multistate input sensor used for testing

* mypy
2022-06-28 10:41:21 -04:00
[pʲɵs] 0e9164b082
Add bool template filter and function (#74068)
Co-authored-by: Erik <erik@montnemery.com>
2022-06-28 16:22:09 +02:00
TheJulianJES ed7ea1423a
Fix ZHA color mode not being set correctly when changing light state (#74018) 2022-06-28 09:53:00 -04:00
epenet f3a24d5a45
Use attributes in xiaomi_miio alarm (#74125) 2022-06-28 15:29:33 +02:00
epenet 670af6fde3
Use attributes in risco alarm (#74117) 2022-06-28 15:26:50 +02:00
J. Nick Koston 0063274f83
Bump HAP-python to 4.5.0 (#74127) 2022-06-28 15:24:20 +02:00
epenet 29c389b342
Adjust remaining type hints in alarm properties (#74126) 2022-06-28 15:22:46 +02:00
epenet 3836da48b3
Use attributes in ness_alarm alarm (#74121) 2022-06-28 15:12:56 +02:00
epenet b75a6d265d
Use attributes in spc alarm and binary sensor (#74120) 2022-06-28 14:49:01 +02:00
G Johansson c4ff317ec6
Smhi minor fixes (#72606)
* Initial commit

* Tests

* From review comments
2022-06-28 14:29:00 +02:00
epenet 4335cafb3f
Use attributes in totalconnect alarm (#74113) 2022-06-28 14:01:49 +02:00
epenet 3b30d8a279
Use attributes in satel_integra alarm (#74103) 2022-06-28 13:56:14 +02:00
epenet 8bed2e6459
Remove zha from mypy ignore list (#73603) 2022-06-28 13:53:20 +02:00
G Johansson 4b5c0be896
Native to Weather Template (#74060)
* Native to Weather template

* Add validation
2022-06-28 13:42:58 +02:00
epenet c1f621e9c0
Use attributes in nx584 alarm (#74105) 2022-06-28 13:42:43 +02:00
epenet dac8f242e0
Improve type hints in mqtt and template alarms (#74101) 2022-06-28 13:41:23 +02:00
G Johansson 2a0b2ecca1
Fix depreciation period for Weather (#74106)
Fix period
2022-06-28 13:40:36 +02:00
Erik Montnemery 39c7056be5
Migrate climacell to native_* (#74039) 2022-06-28 13:39:37 +02:00
epenet 79b3865b60
Use attributes in ialarm alarm (#74099) 2022-06-28 13:15:38 +02:00
epenet 03d2d50393
Use attributes in ifttt alarm (#74107) 2022-06-28 13:07:46 +02:00
epenet 389664e37c
Use attributes in lupusec alarm (#74109) 2022-06-28 13:05:30 +02:00
epenet 45cdfa1049
Use attributes in point alarm (#74111) 2022-06-28 12:53:50 +02:00
epenet bc33818b20
Use attributes in egardia alarm (#74098) 2022-06-28 11:12:46 +02:00
Erik Montnemery ae63cd8677
Add support for unavailable to cover groups (#74053) 2022-06-28 11:12:14 +02:00
epenet af71c250d5
Use attributes in concord232 alarm (#74097) 2022-06-28 11:10:31 +02:00
epenet 38759bb98b
Adjust tilt_position method in esphome cover (#74041) 2022-06-28 11:08:31 +02:00
epenet 734b99e6ac
Improve type hints in zha alarm (#74094)
* Improve type hints in zha alarm

* Allow None code
2022-06-28 11:07:46 +02:00
Erik Montnemery 37e8f113d4
Migrate zamg to native_* (#74034) 2022-06-28 11:02:13 +02:00
Erik Montnemery f66fc65d0b
Migrate environment_canada to native_* (#74048) 2022-06-28 11:01:14 +02:00
Erik Montnemery 7d709c074d
Add support for unavailable and unknown to fan groups (#74054) 2022-06-28 10:58:52 +02:00
Paulus Schoutsen 6eeb1855ff
Remove entities from Alexa when disabling Alexa (#73999)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-28 10:32:50 +02:00
Erik Montnemery 824de2ef4c
Modify behavior of lock groups (#74055) 2022-06-28 10:29:56 +02:00
epenet 8328f9b623
Cleanup async_update in smartthings cover (#74040) 2022-06-28 10:26:36 +02:00
Erik Montnemery 9a613aeb96
Modify behavior of media_player groups (#74056) 2022-06-28 10:22:46 +02:00
epenet 35df012b6e
Fix reauth step in nest (#74090) 2022-06-28 10:06:05 +02:00
epenet f66acf293f
Adjust type hints in prosegur alarm (#74093)
* Adjust type hints in prosegur alarm

* Adjust hint
2022-06-28 10:02:16 +02:00
epenet 8e1ec07f3d
Adjust type hints in component alarm methods (#74092)
* Adjust type hints in component alarm methods

* Undo related change

* Undo related change
2022-06-28 10:00:23 +02:00
jjlawren 800bae68a8
Fix clearing of Sonos library cache during regrouping (#74085)
Fix clearing of ZoneGroupState attribute cache
2022-06-28 09:51:33 +02:00
J. Nick Koston cb46bb5bfa
Revert "Partially revert "Switch loader to use json helper (#73872)" (#74077)" (#74087) 2022-06-28 09:34:56 +02:00
J. Nick Koston 567df9cc4d
Add async_remove_config_entry_device to enphase_envoy (#74012) 2022-06-28 08:53:17 +02:00
epenet 87b46a699a
Fix mypy issues in zha store (#74032) 2022-06-28 08:52:20 +02:00
Erik Montnemery cc8170fcfe
Align code between group platforms (#74057) 2022-06-28 08:50:31 +02:00
epenet fb10853358
Fix mypy issues in zha core modules (#74028)
* Fix mypy issues in zha gateway, group and helpers

* Cleanup device

* Apply suggestion

* Raise ValueError

* Use hass.config.path
2022-06-28 08:50:16 +02:00
J. Nick Koston 720768560d
Fix devices missing in logbook when all requested entities are filtered (#74073) 2022-06-28 08:44:06 +02:00
epenet b6676df1cb
Adjust config-flow reauth type hints in components (#74088) 2022-06-28 08:43:06 +02:00
epenet 530e1f9080
Fix reauth step in geocaching (#74089) 2022-06-28 08:40:46 +02:00
Matrix 1804f70a5b
Fix missing leak sensor battery expose (#74084) 2022-06-28 08:39:12 +02:00
[pʲɵs] 91a119917d
List more private and link-local IP networks (#74064)
List more private and link-local IP networks

The IPv6 link-local network is especially important as without it
local accounts don't work on IPv6-capable networks with no IPv6 DHCP
server.
2022-06-27 22:00:44 -07:00
J. Nick Koston df357962b3
Bump orjson to 3.7.5 (#74083) 2022-06-27 21:59:08 -07:00
maikukun cdaa6c0d42
Update tesla_powerwall to 0.3.18 (#74026) 2022-06-27 21:31:30 -05:00
GitHub Action 7e341aaef2 [ci skip] Translation update 2022-06-28 00:26:39 +00:00
Erik Montnemery 192986ba8a
Migrate buienradar to native_* (#74059) 2022-06-28 01:57:46 +02:00
uvjustin fef21c02ee
Clean up disabling audio in stream (#74038) 2022-06-28 01:56:10 +02:00
leroyloren e706c6a15f
Visiblity fix unit km to m (#74008) 2022-06-28 01:53:57 +02:00
G Johansson 2f0fe0df82
Fix wind speed SMHI (#72999) 2022-06-28 01:50:06 +02:00
epenet b2c84a4c4a
Adjust reauth in awair config flow (#72386)
* Adjust config-flow type hints in awair

* Improve typing of dict arguments

* Use mapping for async_step_reauth

* Add async_step_reauth_confirm

* Don't try old token

* Adjust translations

* Adjust tests

* Update tests/components/awair/test_config_flow.py

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

* Update tests/components/awair/test_config_flow.py

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

* Update tests/components/awair/test_config_flow.py

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

* Update tests/components/awair/test_config_flow.py

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

* Update tests/components/awair/test_config_flow.py

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

* Update tests/components/awair/test_config_flow.py

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

* Update tests/components/awair/test_config_flow.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-28 01:49:10 +02:00
Iván Cea Fontenla c62bfcaa4c
Nuki opener event on ring (#72793)
* feat(nuki): add ring action timestamp attribute

* feat(nuki): add ring action state attribute

* Emit event on Nuki Opener ring

* Removed event attributes

* Use entity registry to get entity id

* Move event firing to the async update method

* Move events code outside try-except

* Black autoformat

* Added missing period to doc

* Import order

Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-06-28 01:47:55 +02:00
Franck Nijhof 09dca3cd94
Remove invalid unit of measurement from Glances (#73983) 2022-06-28 01:46:58 +02:00
epenet e8917af823
Cleanup update/async_update typing in Entities (#74035) 2022-06-28 00:48:56 +02:00
Franck Nijhof 21b842cf9c
Partially revert "Switch loader to use json helper (#73872)" (#74077) 2022-06-28 00:48:18 +02:00
shbatm 08c5c6ca1c
ISY994: Bump pyisy to 3.0.7 (#74071) 2022-06-27 16:24:25 -05:00
Christopher Bailey b9c636ba4e
Automatically add newly added devices for UniFi Protect (#73879) 2022-06-27 16:03:25 -05:00
Robert Svensson 33f5b225fb
Use aiounifi v34 to utilise orjson for better performance (#74065)
Bump aiounifi to v34
2022-06-27 21:29:19 +02:00
Erik Montnemery 84ea8a3c43
Fix misleading comments in tomorrowio (#74049)
* Fix misleading comments in tomorrowio

* Add test
2022-06-27 14:26:04 -04:00
Erik Montnemery 5f06404db5
Migrate tomorrowio to native_* (#74050) 2022-06-27 14:25:36 -04:00
Joakim Plate 992ceb1a09
Google Assistant diagnostics and synchronization (#73574)
* Add config flow import for local google assistant
* Add diagnostic with sync response
* Add button for device sync
2022-06-27 20:24:15 +02:00
Robert Svensson 320fa25a99
Fix re-login logic when UniFi integration receives a 401 (#74013) 2022-06-27 19:50:56 +02:00
RenierM26 10ea88e0ea
Switchbot bump Dependency 0.14.0 (#74001)
* Bump requirement.

* Switchbot depenacy update, full async.

* Update tests, remove redundant config entry check.

* Update requirements_test_all.txt

* Update requirements_all.txt

* Remove asyncio lock. Not required anymore with bleak.

* Update requirements_all.txt

* Update requirements_test_all.txt

* pyswitchbot no longer uses bluepy
2022-06-27 13:56:51 +02:00
MatthewFlamm e32c7dbf92
Use built in unit handling for nws weather (#73981)
use built in unit handling for nws
2022-06-27 11:39:02 +02:00
Joakim Sørensen a94579107c
Bump awesomeversion from 22.5.2 to 22.6.0 (#74030) 2022-06-27 11:38:40 +02:00
akloeckner aa314a0901
Add this variable to trigger-based templates (#72437)
add this variables to trigger-based templates

follow-up for https://github.com/home-assistant/core/issues/70359
2022-06-27 08:59:29 +02:00
GitHub Action 11ec8b9186 [ci skip] Translation update 2022-06-27 00:25:49 +00:00
J. Nick Koston 9a0b3796d3
Bump xmltodict to 0.13.0 (#73974)
Changelog: https://github.com/martinblech/xmltodict/blob/v0.13.0/CHANGELOG.md
2022-06-26 12:38:17 +02:00
avee87 fb5e6aaa29
Clean up Glances sensors a bit (#73998) 2022-06-26 12:33:11 +02:00
J. Nick Koston 6ec6f0a835
Fix file sensor reading the whole file to get the last line (#73986) 2022-06-25 21:02:50 -05:00
GitHub Action ba64d9db64 [ci skip] Translation update 2022-06-26 00:28:21 +00:00
Khole ce144bf631
Add Hive device configuration to config flow (#73955)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-26 00:13:30 +02:00
rikroe f78d209f93
Bump bimmer_connected to 0.9.6 (#73977)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-06-25 10:26:57 -07:00
J. Nick Koston 949922ef2c
Fix exception when as_dict is called on a TemplateState (#73984) 2022-06-25 09:19:11 -07:00
J. Nick Koston 15ed329108
Add async_remove_config_entry_device support to nexia (#73966)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-06-25 12:02:38 -04:00
J. Nick Koston 85fdc56240
Bump aiosteamist to 0.3.2 (#73976)
Changelog: https://github.com/bdraco/aiosteamist/compare/0.3.1...0.3.2
2022-06-25 16:41:47 +02:00
rappenze eb6afd27b3
Fix fibaro cover state (#73921) 2022-06-25 12:34:30 +02:00
epenet 9eed8b2ef4
Adjust freedompro cover position method (#73945) 2022-06-25 12:32:55 +02:00
epenet 3743d42ade
Adjust smartthings cover type hints (#73948) 2022-06-25 12:31:53 +02:00
epenet 10dc38e0ec
Adjust CoverEntity property type hints in components (#73943)
* Adjust CoverEntity property type hints in components

* Revert changes to rflink

* Revert changes to wilight
2022-06-25 11:59:56 +02:00
J. Nick Koston 55b5ade586
Prime platform.uname cache at startup to fix blocking subprocess in the event loop (#73975)
Prime platform.uname cache at startup to fix blocking subprocess

- Multiple modules check platform.uname()[0] at startup which
  does a blocking subprocess call. We can avoid this happening
  in the eventloop and distrupting startup stability by priming
  the cache ahead of time in the executor
2022-06-25 04:31:44 -04:00
GitHub Action 0166816200 [ci skip] Translation update 2022-06-25 00:24:25 +00:00
avee87 ad3bd6773c
Add device_info to Glances entities (#73047) 2022-06-25 01:23:26 +02:00
Erik Montnemery a267045a31
Migrate open_meteo to native_* (#73910) 2022-06-25 01:05:31 +02:00
epenet 9b88b77b66
Use attributes in wilight (#73898)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-06-25 00:55:01 +02:00
epenet 0461eda83b
Adjust demo cover position methods (#73944) 2022-06-25 00:34:49 +02:00
J. Nick Koston 32e0d9f47c
Speed up generation of template states (#73728)
* Speed up generation of template states

* tweak

* cache

* cache hash

* weaken

* Revert "weaken"

This reverts commit 4856f50080.

* lower cache size as it tends to be the same ones over and over

* lower cache size as it tends to be the same ones over and over

* lower cache size as it tends to be the same ones over and over

* cover

* Update homeassistant/helpers/template.py

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

* id reuse is possible

* account for iterting all sensors

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-06-24 17:28:26 -04:00
Paulus Schoutsen 57efa9569c
Cache is_supported for Google entities (#73936) 2022-06-24 17:05:36 -04:00
J. Nick Koston 44da543ca0
Bump nexia to 2.0.0 (#73935) 2022-06-24 09:59:41 -05:00
J. Nick Koston 1866a1e925
Handle non-str keys when storing json data (#73958) 2022-06-24 09:59:01 -05:00
epenet b880a05e45
Fix type hints in zha remaining channels (#73778)
* Fix hvac channel type hints

* Fix security channel type hints

* Fix homeautomation channel type hints

* Fix type hints in zha base channel

* Adjust select entity

* Remove unused arg
2022-06-24 10:35:38 -04:00
J. Nick Koston f29cc33fa0
Fix selecting entity_ids and device_ids in events with MySQL and PostgreSQL with logbook (#73918)
* Fix selecting entity_ids and device_ids in events with MySQL and PostgreSQL

Fixes #73818

* add cover
2022-06-24 15:43:35 +02:00
epenet 6cafcb016f
Adjust rfxtrx cover type hints (#73947) 2022-06-24 10:22:40 +02:00
J. Nick Koston 2f78faa718
Make aiohttp mockers aware of the json loads kwarg (#73939) 2022-06-24 08:44:35 +02:00
Rami Mosleh d1708861db
Add config flow for `simplepush` (#73471)
* Add config flow for `simplepush`

* fix warning message

* fix typos

* Add importing yaml config

* patch integration setup

* Add check for errrors raised by the library

* fix coverage

* Adjust comment and logging message

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-06-24 08:39:48 +02:00
epenet a92ab7a669
Adjust CoverEntity function type hints in components (#73912)
Adjust CoverEntity functions in components
2022-06-24 06:40:26 +02:00
Zack Barett 307666da7f
Bump Frontend to 20220624.0 (#73938) 2022-06-23 22:51:31 -05:00
Christopher Bailey e4a770984d
Bump version of pyunifiprotect to 4.0.8 (#73934) 2022-06-23 21:50:39 -05:00