Commit Graph

40200 Commits (27e3ff9c694abbcad74f1da1779539b04aa2da71)

Author SHA1 Message Date
J. Nick Koston 03e3ebb238
Use json_loads by default for the aiohttp helper (#75214) 2022-07-14 15:37:12 -05:00
J. Nick Koston 61cc9f5288
Consolidate executor jobs when loading integration manifests (#75176) 2022-07-14 13:06:08 -07:00
Franck Nijhof fef1b842ce
Update wled to 0.14.1 (#75174) 2022-07-14 13:04:46 -07:00
Franck Nijhof d004adf833
Add entity descriptions in AdGuard Home sensors (#75179) 2022-07-14 13:04:19 -07:00
Glenn Waters 72906bf154
Migrate UPB to new entity naming style (#75096)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-14 21:56:36 +02:00
G Johansson 09f37fc522
Migrate SQL to new entity naming style (#75203) 2022-07-14 21:46:26 +02:00
Franck Nijhof 9a4a7e2f4d
Extend failed login message with the request URL (#75218) 2022-07-14 21:43:14 +02:00
Thomas Hollstegge f0cc565f6c
Fix Alexa: Only trigger doorbell event on actual state change to "ON" (#74924)
* Alexa: Only trigger doorbell event on actual state change to "ON"

* Remove unnecessary check for new_state

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>

* First check state is `on` before checking the old state

Co-authored-by: Jan Bouwhuis <jbouwh@users.noreply.github.com>
2022-07-14 12:40:53 -07:00
epenet e7ae2fada7
Remove evohome from mypy ignore list (#75175) 2022-07-14 21:40:39 +02:00
uvjustin 75892385bb
Fix playback of hls cameras in stream (#75166) 2022-07-14 12:24:24 -07:00
J. Nick Koston 6184f0557d
Bump pyunifiprotect to 4.0.11 (#75215) 2022-07-14 21:18:55 +02:00
puddly bdc63b692b
Bump zigpy from 0.47.2 to 0.47.3 (#75194) 2022-07-14 12:15:51 -07:00
epenet 5287980f48
Remove template from mypy ignore list (#74426) 2022-07-14 21:15:37 +02:00
mkmer b7cdf5412b
Bumped AIOAladdin Connect to 0.1.24 (#75182) 2022-07-14 12:14:41 -07:00
Peter Galantha 3d2101cac5
Add total state_class for esphome (#75015) 2022-07-14 21:14:25 +02:00
G Johansson 54a939e223
Migrate Filesize to new entity naming style (#75199) 2022-07-14 21:04:41 +02:00
J. Nick Koston 3f6e930489
Bump nexia to 2.0.2 (#75209) 2022-07-14 21:03:12 +02:00
Robert Svensson 874043f596
Migrate Axis to new entity naming style (#74735) 2022-07-14 21:01:57 +02:00
Khole 124bfe1629
Fix Hive power unit of measurement (#75210) 2022-07-14 20:50:35 +02:00
J. Nick Koston 5f08052f40
Move lutron_caseta migration to happen after successful setup (#75204) 2022-07-14 20:48:30 +02:00
J. Nick Koston fde3489e86
Relocate BluetoothServiceInfo to helpers.service_info (#75195) 2022-07-14 11:36:54 -07:00
puddly 5e46fa6f8b
Skip `iso4217` version 1.10, which includes a broken `__init__.pyi` file (#75200) 2022-07-14 12:38:22 -05:00
Franck Nijhof 56da7d0ad0
Allow Mjpeg camera name to be None (#75002) 2022-07-14 19:00:06 +02:00
J. Nick Koston bb14f83b94
Bump unifi-discovery to 1.1.5 (#75189) 2022-07-14 11:30:20 -05:00
J. Nick Koston 666f715e76
Avoid importing MQTT into core for ServiceInfo dataclass (#74418)
* Avoid importing MQTT into core for discovery dataclass

Likely fixes #73863

* relo

* adjust

* rename

* rename

* rename

* adjust missed imports

* drop compat

* fix conflict correctly

* Update homeassistant/helpers/config_entry_flow.py

* fix black from trying to fix the conflict in github
2022-07-14 11:09:09 -05:00
epenet 1725948d4a
Use instance attributes in minecraft_server (#75157)
* Remove minecraft_server from mypy ignore list

* Use new entity naming style
2022-07-14 18:06:33 +02:00
J. Nick Koston 89985b93fb
Avoid loading platforms in HKC if we are going to raise ConfigEntryNotReady (#75177) 2022-07-14 10:17:16 -05:00
Christopher Bailey 2286dea636
Bump version of pyunifiprotect to 4.0.10 (#75180) 2022-07-14 09:55:24 -05:00
J. Nick Koston a31dde9cb4
Await startup in homekit controller (#75021) 2022-07-14 07:44:27 -05:00
Chris Talkington 20432ccc76
Migrate roku to new entity naming (#74819)
* migrate roku to new entity naming

* Update binary_sensor.py

* Update sensor.py

* Update test_binary_sensor.py

* Update sensor.py

* Update entity.py

* Update media_player.py

* Update remote.py

* Update media_player.py

* Update remote.py

* Update entity.py

* Update entity.py

* Update entity.py

* Update entity.py
2022-07-14 07:02:13 -05:00
epenet e16bd1e471
Remove evohome climate from mypy ignore list (#75169)
* Remove evohome climate from mypy ignore list

* Raise error
2022-07-14 13:46:37 +02:00
epenet c260413e2a
Remove lovelace from mypy ignore list (#75167)
* Remove lovelace from mypy ignore list

* Raise error on failed config
2022-07-14 13:08:50 +02:00
Franck Nijhof 28c082a080
Update sentry-sdk to 1.7.1 (#75154) 2022-07-14 12:42:18 +02:00
epenet debd475a6d
Remove onvif from mypy ignore list (#75162) 2022-07-14 11:55:43 +02:00
epenet 51c17197c5
Remove nzbget from mypy ignore list (#75158) 2022-07-14 11:40:10 +02:00
Franck Nijhof 3bccac9949
Verisure config flow cleanups (#75144) 2022-07-14 11:37:59 +02:00
Michał Huryn 169264db66
Fix Blebox light scenes (#75106)
* Bug fix for light platform, when async_turn_on recieves multiple keys.

* Changes according to @MartinHjelmare suggestion.

* Moved effect set call in BleBoxLightEntity.async_turn_on method.

* Added tests for effect in light platform. Added ValueError raise if effect not in effect list.

* Removed duplicated line from test as @MartinHjelmare suggested.
2022-07-14 11:21:01 +02:00
mkmer c9df5888c2
Add Aladdin Connect wifi_rssi and battery_level sensors (#74258) 2022-07-14 11:09:27 +02:00
J. Nick Koston 08ff1b8986
Fix flapping system log test (#75111) 2022-07-14 11:05:52 +02:00
Franck Nijhof a720b2989a
Migrate RDW to new entity naming style (#75017) 2022-07-14 10:56:14 +02:00
Franck Nijhof 2aa98da624
Migrate Whois to new entity naming style (#75019) 2022-07-14 10:56:01 +02:00
GitHub Action 1d2e64e3dc [ci skip] Translation update 2022-07-14 00:27:41 +00:00
puddly 3166d4895f
Bump ZHA dependencies (#75133) 2022-07-13 14:13:09 -07:00
Paulus Schoutsen 1768315c50
Block bad pubnub version (#75138) 2022-07-13 14:12:53 -07:00
kingy444 d1ffc7e9e3
Fix Powerview top shade open position (#75110) 2022-07-13 13:06:32 -07:00
Joakim Plate 755abbe2d0
Make sure device tuple is a list on save (#75103) 2022-07-13 13:05:43 -07:00
Aaron Bach ffeac9714f
Ensure SimpliSafe diagnostics redact the `code` option (#75137) 2022-07-13 20:52:13 +02:00
Everything Smart Home 4a36318d56
Add Aqara E1 curtain motor direction select entity to ZHA (#75132)
* Add direction change select option for Aqara Curtain

* Add direction change select option for Aqara Curtain
2022-07-13 13:58:36 -04:00
Aaron Bach 2169d839ce
Remove service descriptions for deprecated Guardian services (#75084) 2022-07-13 11:08:23 +02:00
Bouwe Westerdijk 34f1d5e094
Add Plugwise number platform (#74655) 2022-07-13 09:21:58 +02:00
Artem Draft b7a6f4e220
Fix missing ordered states in universal media player (#75099) 2022-07-13 09:12:50 +02:00
Tom Harris 1e5ada0f9d
Fix Insteon thermostat issues (#75079) 2022-07-13 08:56:08 +02:00
mkmer ad82352dae
Bump AIOAladdinConnect to 0.1.23 (#75065) 2022-07-13 08:46:32 +02:00
GitHub Action a3fd5acf3f [ci skip] Translation update 2022-07-13 00:27:34 +00:00
Paulus Schoutsen 41ec8cd354
Expose supported brands via API (#75074) 2022-07-12 13:49:54 -07:00
Aaron Bach b54fe14a10
Replace Guardian `reboot` and `reset_valve_diagnostics` services with buttons (#75028) 2022-07-12 12:53:21 -06:00
Glenn Waters 96ecbe4388
Migrate Environment Canada to new entity naming style (#75024)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-07-12 20:45:38 +02:00
Franck Nijhof 397f94ee50
Migrate DSMR to use keys for entity unique ID (#74895) 2022-07-12 20:06:13 +02:00
Erik Montnemery b0fde206b8
Teach resolution center about fixing issues (#74694) 2022-07-12 10:26:06 -07:00
Sebastian Lövdahl cf612c4bec
Migrate Vallox to new entity naming style (#75025) 2022-07-12 16:32:37 +02:00
Gabe Cook 5489b2111a
Fix Ruckus Unleashed SSH connection failures (#75032) 2022-07-12 16:06:38 +02:00
Duco Sebel 5fdae0fc5b
Migrate HomeWizard to new entity naming style (#74958) 2022-07-12 15:56:16 +02:00
Maciej Bieniek 7283d1b7fb
Migrate Brother to new entity naming style (#75000) 2022-07-12 15:35:12 +02:00
hahn-th cd25bc1901
Bump homematicip to 1.0.4 (#75053) 2022-07-12 15:31:04 +02:00
Thijs W ff1cdb4de7
Bump afsapi to 0.2.6 (#75041) 2022-07-12 12:03:26 +02:00
Jan Bouwhuis 5930f056a8
Mqtt support config_entry unload (#70149)
* squashed commits for rebase

* Flake

* Fix reloading issue manual legacy items

* Improve ACS sync for unsubscribe at disconnect

* Processed review comments

* Update homeassistant/components/mqtt/client.py

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

* No need to await entry setup

* Remove complication is_connected

* Update homeassistant/components/mqtt/__init__.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-07-12 11:07:18 +02:00
Michał Huryn 6a37600936
Remove incorrect device class from blebox button (#75042)
* Removed redundant attr device class from button.

* Removed irrelevant test for checking buttons device_class.
2022-07-12 10:01:53 +02:00
Phil Bruckner f4953e6e9b
Do not spam log when Life360 member location is missing (#75029) 2022-07-12 08:42:33 +02:00
GitHub Action 5d8e1b8387 [ci skip] Translation update 2022-07-12 00:24:26 +00:00
Ville Skyttä 7b9a0eed22
Upgrade huawei-lte-api to 1.6.1 (#75030) 2022-07-11 15:35:45 -07:00
Erik Montnemery 2e228b2608
Tweak handling of entities with `has_entity_name` set (#74948)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-07-11 15:10:53 -07:00
J. Nick Koston da027fa390
JSON serialize NamedTuple subclasses with aiohttp (#74971) 2022-07-11 14:46:55 -07:00
0bmay 2d2fd3e48f
Cache Canary camera image (#73923)
* Cache camera image

Cache camera image so a new image isn't generated each call.
Adds debug logging

* Apply suggestions from code review

code compression with walrus operator

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

* fix after walrus operator suggested tweak

fully use the live_stream_session variable in async_camera_image

* Invalidate cached image after 15 minutes

requested code change; invalidate cached image

* Removed unnecessary if statement

based on code review

* Image capture flow updates

now sets the image expiration upon getting an updated image
updates the cache image only when a new image is captured

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-07-11 21:53:33 +02:00
David F. Mulcahey 5774f2e7b9
Use forward_entry_setups in ZHA (#74834) 2022-07-11 14:29:42 -04:00
puddly 2986a2f01b
Identify the active ZHA coordinator device in API responses (#74739)
* Remove deprecated zigpy properties

* Create a `ZHADevice.is_active_coordinator` property

* Add `@puddly` to the ZHA code owners

* Create a `ZHAGateway.coordinator_ieee` shortcut property
2022-07-11 14:19:30 -04:00
epenet 14baaf4b67
Remove plex from mypy ignore list (#74984) 2022-07-11 20:02:44 +02:00
epenet 28a34a1f89
Remove withings from mypy ignore list (#74966) 2022-07-11 19:14:23 +02:00
Franck Nijhof 7c2bd319f1
Migrate AdGuard Home to new entity naming style (#74999)
* Migrate AdGuard Home to new entity naming style

* sentence-casing
2022-07-11 18:59:21 +02:00
epenet ba18e11308
Remove profiler from mypy ignore list (#74453) 2022-07-11 18:34:27 +02:00
Franck Nijhof 8d6925b3ab
Migrate Tuya to new entity naming style (#74975) 2022-07-11 09:17:54 -07:00
Matthias Alphart 75abf87611
Migrate Fronius to new entity naming style (#74974) 2022-07-11 09:16:29 -07:00
Franck Nijhof 4a39087fe7
Migrate Verisure to new entity naming style (#74997) 2022-07-11 09:14:17 -07:00
Franck Nijhof a30d7e5104
Migrate Speedtest.net to new entity naming style (#75004) 2022-07-11 09:13:09 -07:00
Franck Nijhof 964bb63da6
Migrate Spotify to new entity naming style (#74992) 2022-07-11 09:12:56 -07:00
epenet 7e0515b119
Remove conversation from mypy ignore list (#74991) 2022-07-11 17:47:33 +02:00
epenet 63706d2f67
Remove blueprint from mypy ignore list (#74990) 2022-07-11 17:46:32 +02:00
Erik Montnemery 924dce1b86
Log warning if number entities set _attr_unit_of_measurement (#74987) 2022-07-11 17:44:07 +02:00
Brett Adams 01ca7f657c
Shorten Entity Name in Aussie Broadband (#74946) 2022-07-11 17:43:32 +02:00
Paulus Schoutsen 6fd47d035e
Add basic Rhasspy integration (#74942)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-07-11 08:40:52 -07:00
epenet 6ac05784a6
Remove icloud from mypy ignore list (#75007) 2022-07-11 17:33:20 +02:00
Maciej Bieniek 7b5cf63a46
Migrate Airly to new entity naming style (#74995) 2022-07-11 17:30:22 +02:00
Maciej Bieniek e1e85caf18
Migrate Nettigo Air Monitor to new entity naming style (#74993) 2022-07-11 17:26:07 +02:00
epenet fa51a39f1d
Use instance attributes in evohome (#74996) 2022-07-11 17:24:35 +02:00
J. Nick Koston c2fefe03b2
Add support for subscribing to bluetooth callbacks by address (#74773) 2022-07-11 08:14:00 -07:00
Erik Montnemery eb922b2a1f
Add temperature number to demo integration (#74986) 2022-07-11 16:55:06 +02:00
epenet 73a8ae35c2
Remove izone from mypy ignore list (#75005) 2022-07-11 16:53:14 +02:00
Ludovico de Nittis fe1c23321e
Update pyialarm to 2.2.0 (#74874) 2022-07-11 16:51:10 +02:00
epenet 06a4c226fd
Remove konnected from mypy ignore list (#75003) 2022-07-11 16:44:44 +02:00
Joakim Plate ee4749b207
Change more properties to attributes for rfxtrx (#74880)
* Move more properties to attributes

* Apply suggestions from code review

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

* Convert states to attributes

* Adjustments from review

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-07-11 16:21:26 +02:00
Maciej Bieniek c1a4dc2f22
Add NextDNS switch platform (#74512)
* Add switch platform

* Use lambda to get state

* Use async with timeout

* Add tests

* Use correct type

* Use Generic for coordinator

* Use TCoordinatorData

* Cleanup generic

* Simplify coordinator data update methods

* Use new entity naming style

* Remove unnecessary code

* Only the first word should be capitalised

* Suggested change

* improve typing in tests

* Improve typing intests

* Update tests/components/nextdns/__init__.py

* black

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-07-11 16:00:13 +02:00