Commit Graph

27145 Commits (93899e981f7726f8e4f6d86afe8f578ef64afd20)

Author SHA1 Message Date
Otto Winter 51e4f66b82
Fix ESPHome services when .storage cleared (#53488) 2021-07-26 09:33:06 +02:00
J. Nick Koston 25229a9670
Allow zeroconf name change if there is another Home Assistant running on the local network (#53476)
* Allow zeroconf name change if there is another Home Assistant running on the local network

* Remove unused try/except
2021-07-26 09:27:49 +02:00
jjlawren 550a6f159e
Reduce repetitive noise in Sonos debug logs (#53352) 2021-07-26 00:54:38 -05:00
Alexei Chetroi 505dd500cb
Bump up ZHA dependencies (#53472)
* Bump up ZHA dependencies

* Fix ZHA WS API tests
2021-07-25 22:09:40 -04:00
GitHub Action c6ee058c0d [ci skip] Translation update 2021-07-26 00:10:23 +00:00
jan iversen 15ec9fbf6c
Late review comment in edl21 (#53464)
* Late review comment.

* Review comment.

* pylint.

* Update homeassistant/components/edl21/sensor.py

* Callback typing.

* Complete typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-25 18:59:14 -04:00
David Kendall f3ba71748b
Feature/google calendar read only support (#52790)
* feat(google): Added support for read only access in google calendar.

By default the current read/write access will be given, but the user has the option to set read only access which stops the add event service from registering

* fix(google): Updated documentation link

* docs(google-calendar): Added style fixes

* feat(calendar-google): Updated scopes to be defined on enum property.

This was done as a MR suggestion to simplify the code.

* feat(calendar-google):Removed constants no longer needed.

* feat(calendar-google): Reduced scope check to minimum.

* style: Fixed style issues
2021-07-25 12:33:21 -07:00
Dermot Duffy 5e6853b9e1
Codereview fixes. (#53452) 2021-07-25 22:23:11 +03:00
G Johansson 5741a59d08
Bugfix package 0.3.4 (#53470) 2021-07-25 22:17:45 +03:00
Aidan Timson d18ca62f60
Bump aioambient to 1.2.4 (#53467) 2021-07-25 12:23:38 -06:00
Dermot Duffy 5189172b80
Pass clientsession. (#53455) 2021-07-25 19:58:50 +02:00
Simone Chemelli 33af2602af
Fix wan/device uptime and add state_class to counters for Fritz (#52574)
* Fix wan/device uptime, add state_class to counters

* Rebase + cleanup + adapt to final fritzconnection

* Bump fritzconnection library

* Missing bump
2021-07-25 20:43:31 +03:00
Daniel Hjelseth Høyer ff8affdd04
Address late review of Adax (#53456)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-25 12:32:50 +02:00
Aidan Timson c8d2fc1e04
Fix System Bridge unique key for filesystem sensors (#53446) 2021-07-25 12:31:16 +02:00
Robert Hillis 7e59f3160b
Use entity class attributes for climacell (#53444) 2021-07-25 02:19:08 -04:00
GitHub Action c1b18f4867 [ci skip] Translation update 2021-07-25 00:12:45 +00:00
Shay Levy 68bf6194e1
Add myself to webOS TV codeowners (#53428) 2021-07-24 21:45:24 +02:00
G Johansson a5eb2ac7b7
Bump yalesmartalarmclient to 0.3.4 (#53431) 2021-07-24 21:13:06 +02:00
G Johansson f0d5ae2fec
Add yale_smart_alarm config flow and coordinator (#50850)
* config flow and coordinator

* comply with pylint

* Remove pylint errors

* Update test coverage yale smart alarm

* Update test config_flow

* Fix test already configured

* Second try test already configured

* Fixes config flow and tests

* Conform pylint errors coordinator

* Fix various review remarks

* Correct entity unique id

* Fix unique id and migrate entries

* Remove lock code

* Remove code from test

* Expand code coverage config flow test

* Add more constants

* Add test new requirements

* Minor corrections

* Resolve conflict alarm schema

* Change logger

* Changed from review

* Fix isort error

* Fix flake error

* Ignore mypy errors

* Corrections from PR review no 2

* Corrections from PR review no 3

* Added tests and fix pylint error

* Corrections from PR review no 4

* Corrections from PR review no 5

* Corrections from PR review no 6

* Corrections from PR review no 6_2

* Corrections from PR review no 7

* Corrections from PR review no 8

* Minor last changes for PR

* Update homeassistant/components/yale_smart_alarm/coordinator.py

Co-authored-by: Raman Gupta <7243222+raman325@users.noreply.github.com>
2021-07-24 13:55:43 -04:00
J. Nick Koston 0f15d2bf19
Ensure HomeKit accessories are started again after reset (#53372) 2021-07-24 16:31:30 +02:00
Bram Gerritsen 87e41e807c
Add support for Velux light devices (#49338)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-24 15:52:14 +02:00
David Beitey ea1ec91c9c
Upgrade open-garage to 0.1.5 (#53412) 2021-07-24 15:49:39 +02:00
Aaron Bach 54ace4cdd4
Enforce strict typing for OpenUV (#53409)
* Enforce strict typing for OpenUV

* Linting

* Fix tests
2021-07-24 14:50:01 +02:00
Michael 5c86cc502f
Bump to py-synologydsm-api 1.0.3 (#53402) 2021-07-24 14:44:50 +02:00
Bouwe Westerdijk e65283389d
Update Plugwise config_flow once more (#53423) 2021-07-24 14:28:33 +02:00
Robert Hillis 16e8373fdd
Use entity class attributes for advantage_air (#52498)
* Use entity class attributes for advantage_air

* update

* tweak

* tweak

* use update listeners
2021-07-24 13:00:41 +02:00
Jon Caruana 72a3860361
Add transition to LiteJet (#47657) 2021-07-24 12:43:10 +02:00
Samuel Tardieu 0f78004ede
Add missing string interpolation (#53422) 2021-07-24 12:13:21 +02:00
Dermot Duffy ffa7962a37
Fix motionEye switch refresh bug (#53413) 2021-07-24 12:12:27 +02:00
Robert Hillis 4b393f215d
Use entity class attributes for asuswrt (#52685)
* Use entity class attributes for asuswrt

* fix

* tweak
2021-07-24 11:55:54 +02:00
Jc2k 0db160e372
Handle homekit accessories where the pairing flag is wrong (#53385) 2021-07-23 20:03:44 -10:00
Guido Schmitz bf3a16eed4
Use class attributes in devolo Home Control (#53360) 2021-07-23 21:48:32 -07:00
GitHub Action 7fa8586b17 [ci skip] Translation update 2021-07-24 00:08:57 +00:00
Paulus Schoutsen c49decb7f0
Convert CO2Signal to data update coordinator and add fossil fuel percentage (#53370)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-07-23 14:35:11 -07:00
Robert Svensson d0bef97453
Handle situations where action is part of a deCONZ event but has the value None (#53373)
* Handle situations where action is part of an event but has the value None

* Cover more possible permutations of what a bad action string is
2021-07-23 21:43:00 +02:00
Robert Svensson 0d5e480397
Fix Gira and Jung models not working as deCONZ device triggers (#53394) 2021-07-23 21:18:19 +02:00
Aaron Bach 4b353917f5
Enforce strict typing for Notion (#53355)
* Enforce strict typing for Notion

* Code review
2021-07-23 13:00:02 -06:00
Jc2k 91018d0451
Add support for power data from Koogeek SW2 via homekit_controller (#53378) 2021-07-23 07:37:18 -10:00
Franck Nijhof d8887a97e3
Upgrade debugpy to 1.4.0 (#53284) 2021-07-23 12:57:36 -04:00
Børge Nordli 87165d6133
Support group events for AC switches and binary sensors. Fixes #53065. (#53384)
* Support group events for AC switches and binary sensors. Fixes #53065.

* Review comments
2021-07-23 18:45:31 +02:00
Raman Gupta 952cb964c8
Add new input to zwave_js.multicast_set_value service (#53369)
* Tweak Z-Wave JS service and WS API commands

* Revert WS API change so it can be split out

* Add keywords
2021-07-23 10:35:44 -04:00
Raman Gupta 9ee7e55f10
Send initial status in zwave_js WS API cmds to subscribe to updates (#53386) 2021-07-23 10:34:49 -04:00
Franck Nijhof 0d38ee7378
Upgrade wled to 0.8.0 (#53376) 2021-07-23 14:03:46 +02:00
Michael 42e8a7c842
Move Fritzbox power, energy and temperature switch attributes to sensors (#52562)
* deprecate switch entity properties

* Add last_reset to FritzBoxEnergySensor

* Remove obsolet temperature attribute
2021-07-23 13:06:30 +02:00
Dermot Duffy dee5d8903c
Add motionEye switches (#52491) 2021-07-22 23:17:39 -07:00
Robert Hillis 1d44bfcfb6
Use entity class attributes for Cert expiry (#53363)
* Use entity class attributes for cert_expiry

* Use entity class attributes for cert_expiry
2021-07-23 07:54:06 +02:00
Tobias Sauerwein 0b6e1d3d82
Bump version (#53359) 2021-07-22 22:01:24 -04:00
GitHub Action 969be5c539 [ci skip] Translation update 2021-07-23 00:12:05 +00:00
Anders Melchiorsen e85b0ec052
Move Sonos to upstream SoCo (#53351) 2021-07-23 00:40:30 +02:00
J. Nick Koston bfdbb93d2d
Bump HAP-python to 3.5.2 (#53362) 2021-07-22 12:06:37 -10:00
Franck Nijhof c875ff8648
Store JSON in database in compact format (#53364)
* Store JSON in database in compact format

* Fix logbook
2021-07-22 12:05:59 -10:00
Robert Hillis 12503d548b
Use entity class attributes for canary (#53333)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-22 22:40:32 +02:00
Hans Oischinger 84dc6af760
Update to PyVicare 1.0 (#53281) 2021-07-22 21:56:38 +02:00
Simone Chemelli 75f7d3d696
Replace util.get_local_ip in favor of components.network.async_get_source_ip() - part 1 (#52980) 2021-07-22 08:12:33 -10:00
Tom Harris 3461f61f9f
Create APIs for Insteon panel (#49785) 2021-07-22 08:11:36 -10:00
Aaron Bach 032cae772a
Bump aionotion to 3.0.2 (#53354) 2021-07-22 12:04:27 -06:00
jjlawren 0707792bec
Handle more Sonos snapshot restore scenarios (#53277) 2021-07-22 08:04:02 -10:00
Ian Harcombe 74023fce21
Fix for issue #53031 (#53343)
Logs from issue #53031 show that not only ints are appearing in the values for the forecast data now, so change the check from just for int, to see whether the value has a "value" attribute before dereferencing it.
2021-07-22 09:24:47 -07:00
Guido Schmitz c9c1c62d67
Add state class and last reset to consumption sensor in devolo Home Control (#53337)
* Add state class and last reset

* Use STATE_CLASS_MEASUREMENT
2021-07-22 09:24:06 -07:00
Michael 24e07bc154
Fritzbox enable temp sensor (#52558) 2021-07-22 09:19:39 -07:00
Franck Nijhof 258162d933
Upgrade wled to 0.7.3 (#53340) 2021-07-22 16:35:19 +02:00
Marc Mueller f778467d63
Use NamedTuple - rainbird (#53329)
* Use NamedTuple - rainbird

* Apply suggestions from code review

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-22 15:29:50 +02:00
Robert Hillis d371ab9deb
Use entity class attributes for caldav (#53332) 2021-07-22 14:47:30 +02:00
sillyfrog d3e77e00e1
Add Automate Pulse Hub v2 support (#39501)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Sillyfrog <sillyfrog@users.noreply.github.com>
2021-07-22 14:40:33 +02:00
Sergiy Maysak f009b1442f
Switch wirelesstag to use cloud push (#50984) 2021-07-22 13:40:39 +02:00
Guido Schmitz ff781583fc
Remove energy attributes from switch platform in devolo Home Control (#53335) 2021-07-22 12:59:39 +02:00
J. Nick Koston 009f34bfed
Add a homekit.unpair service to forcefully remove pairings (#53303)
- Sometimes homekit will go unresponsive because a pairing for a specific
  device is missing. To avoid deleting the config entry and recreating
  it, which can be a painful process if there are many bridged entities,
  the homekit.unpair service allows forceful removal of the pairings so
  the accessory can be paired again.
2021-07-22 12:44:36 +02:00
Marc Mueller 80c535f02e
Use NamedTuple - rova (#53292)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-22 12:26:50 +02:00
Rami Mosleh 1a450c2084
Speedtestdotnet code cleanup and type hints (#52533) 2021-07-22 12:25:54 +02:00
Marc Mueller 7768f53281
Use NamedTuple - brother (#53330) 2021-07-22 10:36:29 +02:00
Jan Bouwhuis 9753500f5e
Disable speeds for first gen Xiaomi_miio air purifiers (#52772)
* Disable speeds for first gen air purifiers

* Remove test code line

* remove OPERATION_MODES_AIRPURIFIER list
2021-07-22 08:57:29 +02:00
Robert Hillis 804499968e
Use entity class attributes for Bluesound (#53033)
* Use entity class attributes for bluesound

* rework

* tweak

* tweak
2021-07-22 08:51:14 +02:00
J. Nick Koston 4df928c188
Add support for updating the ISY ip address from discovery (#53290)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-22 08:38:55 +02:00
Paulus Schoutsen ce382a39d0
Block title in strings.json unless internal or allowed (#53304) 2021-07-22 08:37:33 +02:00
Raman Gupta b9a6ce77d1
Bump zwave-js-server-python to 0.28.0 (#53302) 2021-07-22 02:37:10 -04:00
Aaron Bach 1bde914075
Ensure Guardian is strictly typed (#53253) 2021-07-21 23:01:05 -07:00
Marc Mueller 560bde94ef
Use NamedTuple - epsonworkforce (#53295) 2021-07-21 22:28:02 -07:00
Marc Mueller 551c117717
Use NamedTuple - ondilo_ico (#53296) 2021-07-21 22:27:31 -07:00
Marc Mueller 5c3fb77660
Use NamedTuple - glances (#53297) 2021-07-21 22:27:01 -07:00
Marc Mueller f5480481cd
Use NamedTuple - metoffice (#53294) 2021-07-21 22:25:38 -07:00
Marc Mueller d98e580c3c
Use NamedTuple - nws (#53293) 2021-07-21 22:24:07 -07:00
J. Nick Koston e78a62c802
Fix homekit locks not being created from when setup from the UI (#53301) 2021-07-21 22:22:06 -07:00
GitHub Action ecf0d4398d [ci skip] Translation update 2021-07-22 00:10:31 +00:00
Paulus Schoutsen edf42bab25
Migrate forecast solar to v2 (#53259) 2021-07-21 15:04:30 -07:00
Paulus Schoutsen 86752516ee
Add WS API to access solar forecast data (#53264)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-21 23:48:21 +02:00
Tobias Sauerwein 583deada83
Add type annotations for Netatmo (#52811) 2021-07-21 14:36:57 -07:00
J. Nick Koston 84c482441d
Use None instead of STATE_UNKNOWN in template lock (#53286) 2021-07-21 14:29:41 -07:00
Steven Looman 34b1ab5f5c
Upgrade to async-upnp-client==0.19.1 (#53288) 2021-07-21 14:29:27 -07:00
Franck Nijhof cfd69de5a7
Upgrade PyNaCl to 1.4.0 (#53287) 2021-07-21 14:28:22 -07:00
RenierM26 f3d95501d9
Add refresh after turning switch on or off and type annotations to ezviz (#52469) 2021-07-21 23:15:47 +02:00
Aaron Bach 8d9345c407
Add missing type annotations to Airvisual (#52615) 2021-07-21 22:18:08 +02:00
cnico 6636e5b737
Flipr integration (#46582)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: cnico <>
2021-07-21 21:35:44 +02:00
Robert Hillis 3eb3c2824c
Refactor goalzero (#53282) 2021-07-21 20:52:17 +02:00
Marc Mueller fd2f15b7c7
Add new unit constants (#53258)
* Add new unit constant - MHz

* Add new unit constants - precipitation (in, in/h)
2021-07-21 12:14:47 -06:00
Paulus Schoutsen ba00c786b0
Correctly detect is not home (#53279) 2021-07-21 19:45:07 +02:00
jan iversen 217c625c9b
Convert ebox to use NamedTuple (#53272)
* Convert to use NamedTuple.

* Convert to NamedTuple.

* Use _attr variables.

* Review comments.
2021-07-21 19:43:33 +02:00
jan iversen aed7cb9120
Convert skybell to use NamedTuple (#53269)
* Convert to NamedTuple.

* Second version.

* Use names instead of index.

* Review comments.

* Add meta variable.

* Review comment.

* Review comments.
2021-07-21 19:42:30 +02:00
Robert Hillis a1df3519db
Use entity class attributes for Bsblan (#53165) 2021-07-21 19:37:12 +02:00
Simone Chemelli db1a8e9336
Fix similar network names for Fritz (#53278) 2021-07-21 19:31:51 +02:00
Marc Mueller 2d48d273a7
Fix incorrect unit (#53274) 2021-07-21 10:12:32 -07:00