Commit Graph

26968 Commits (2a65c5f93cbd8f448953657ba9196df0652f3c3d)

Author SHA1 Message Date
Robert Hillis ad0ccc1b70
Use entity class attributes for apple_tv (#52664)
* Use entity class attributes for apple_tv

* fix pylint

* tweak
2021-07-12 18:29:34 +02:00
Erik Montnemery 8c812bc25c
Improve typing of Tasmota (2/3) (#52747)
* Improve typing of Tasmota (2/3)

* Add more typing, add TasmotaOnOffEntity

* Address review comments
2021-07-12 18:27:11 +02:00
J. Nick Koston 98109caee9
Add zeroconf discovery to Sonos (#52655) 2021-07-12 18:24:12 +02:00
J. Nick Koston 6a5dcf0869
Handle dhcp packets without a hostname (#52882)
* Handle dhcp packets without a hostname

- Since some integrations only match on OUI we want to
  make sure they still see devices that do not request
  a specific hostname

* Update tests/components/dhcp/test_init.py

* Update homeassistant/components/dhcp/__init__.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-12 17:25:16 +02:00
Tobias Sauerwein 40549d9d2f
Add some type hints for webhook component (#52895)
* Add some type hints

* Fix type hint

* Address comment

* Make pylint happy
2021-07-12 17:24:56 +02:00
jjlawren 2b6a3716e8
Ignore Sonos Boost devices during discovery (#52845) 2021-07-12 17:09:45 +02:00
J. Nick Koston 0f6a0f6bcd
Add the Trane brand to nexia (#52805) 2021-07-12 16:30:54 +02:00
J. Nick Koston a810c1ff08
Bump aiohomekit to 0.5.1 to solve performance regression (#52878)
- Changelog: https://github.com/Jc2k/aiohomekit/compare/0.5.0...0.5.1

- Note that #52759 will need to be cherry-picked under this commit
2021-07-12 16:13:07 +02:00
Robert Hillis 11edbcabc8
Use entity class attributes for Bitcoin (#52887)
* Use entity class attributes for bitcoin

* rework

* fix

* tweak
2021-07-12 16:03:27 +02:00
Daniel Hjelseth Høyer 900eab5a68
Surepetcare, fix set_lock_state (#52912)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-07-12 15:57:26 +02:00
Robert Hillis 01afd141c6
Use entity class attributes for Bizkaibus (#52888) 2021-07-12 10:37:14 +02:00
Robert Hillis a1d6e12c45
Use entity class attributes for Bh1750 (#52886)
* Use entity class attributes for bh1750

* rework
2021-07-12 10:20:15 +02:00
Robert Hillis 12555d09d6
Use entity class attributes for Blinksticklight (#52892)
* Use entity class attributes for blinksticklight

* rework

* remove self._serial
2021-07-12 09:48:42 +02:00
Simone Chemelli 13c142a402
Fix Soundbar exclusion from SamsungTV (#51023)
* Improved check

* Fix tests

* Fix logic and tests

* Update tests
2021-07-12 08:58:53 +02:00
Robert Svensson fd6b5ed072
Prefer using xy over hs when supported by light (#52883) 2021-07-12 08:17:50 +02:00
jan iversen 2ecfd74fa4
Add more data_types to modbus (#52423)
* Add more data_types.

* Use new struct when writing temperature.
2021-07-12 07:58:45 +02:00
Ville Skyttä 91a2b96da0
Implement stable unique id for Huawei LTE, requires credentials on setup (#49878) 2021-07-11 21:25:00 -07:00
Raman Gupta e652ef51a1
Initial support for zwave_js device conditions (#52003) 2021-07-11 21:22:33 -07:00
GitHub Action 2ddaf746e6 [ci skip] Translation update 2021-07-12 00:09:46 +00:00
Leszek Swirski e556722281
Add device classes to homematicip_cloud cover (#52793)
Make HMIP covers report a SHUTTER/BLIND/GARAGE device_class (as
appropriate).
2021-07-11 18:51:28 -04:00
J. Nick Koston 574cb03acc
Send ssdp requests to ipv4 broadcast as well (#52760)
* Send ssdp requests to 255.255.255.255 as well

- This matches pysonos behavior and may fix reports of
  inability to discover some sonos devices
  https://github.com/amelchio/pysonos/blob/master/pysonos/discovery.py#L120

* Update homeassistant/components/ssdp/__init__.py
2021-07-11 17:03:48 -04:00
Raman Gupta 0f076610fd
Add siren platform (#48309)
* Add siren platform

* add more supported flags and an ability to set siren duration

* tone can be int or string

* fix typing

* fix typehinting

* fix typehints

* implement a proposed approach based on discussion

* Address comments

* fix tests

* Small fix

* Update homeassistant/components/demo/siren.py

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

* Update homeassistant/components/demo/siren.py

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

* Update homeassistant/components/demo/siren.py

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

* Update homeassistant/components/demo/siren.py

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

* Update homeassistant/components/demo/siren.py

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

* typing

* use class attributes

* fix naming

* remove device from service description

* Filter out params from turn on service

* fix tests

* fix bugs and tests

* add test

* Combine is_on test with turn on/off/toggle service tests

* Update homeassistant/components/siren/__init__.py

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

* fix filtering of turn_on attributes

* none check

* remove services and attributes for volume level, default duration, and default tone

* Update homeassistant/components/siren/__init__.py

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

* Update homeassistant/components/siren/__init__.py

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

* Update homeassistant/components/siren/__init__.py

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

* import final

* Update homeassistant/components/siren/__init__.py

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

* Fix typing and used TypedDict for service parameters

* remove is_on function

* remove class name redundancy

* remove extra service descriptions

* switch to positive_int

* fix schema for tone

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-11 16:51:11 -04:00
EddyK69 11d7efb785
Add AllTrips sensors for BMW Connected Drive (#50420)
* Add AllTrips sensors for BMW Connected Drive

Added several new AllTrips sensors and some optional extra AllTrips sensors (disabled by default)

* Fix for failed checks

* Fix for failed check (black)

* Code tidying

Changed code after useful comments ;)
2021-07-11 16:47:32 -04:00
Robert Hillis c865a1876e
Use entity class attributes for arlo (#52681)
* Use entity class attributes for arlo

* revert sensor
2021-07-11 16:45:05 -04:00
Robert Hillis 9b577e830d
Use entity class attributes for azure_devops (#52698) 2021-07-11 16:42:52 -04:00
Robert Hillis 5849a97150
Use entity class attributes for Beewi smartclim (#52839)
* Use entity class attributes for beewi_smartclim

* rework
2021-07-11 16:41:14 -04:00
Robert Hillis 77c68cb507
Use entity class attributes for bayesian (#52831) 2021-07-11 16:37:41 -04:00
Robert Hillis d01227f141
Use entity class attributes for bbb_gpio (#52837) 2021-07-11 16:35:36 -04:00
Joakim Sørensen d7b2ec80b2
Bump pyhaversion to 21.7.0 (#52880) 2021-07-11 16:33:03 -04:00
Raman Gupta f234da6379
Bump zwave-js-server-python to 0.27.1 (#52885) 2021-07-11 16:27:46 -04:00
GitHub Action b484969b09 [ci skip] Translation update 2021-07-11 00:09:40 +00:00
Marc Mueller b5cec353cc
Fix pylint issue with stream component c-extension (#52847)
* Rename 'extension-pkg-whitelist' setting to 'extension-pkg-allow-list'
* Add 'av.stream' and 'av.audio.stream'
* Replace 'Any' type hint
2021-07-10 22:58:37 +02:00
Joakim Plate dd648f5c9c
Update arcam lib to 0.7.0 (#52829) 2021-07-10 22:31:42 +02:00
Alexei Chetroi fb7b202251
Bump up ZHA depdencies (#52818) 2021-07-09 22:37:56 -04:00
GitHub Action b347226820 [ci skip] Translation update 2021-07-10 00:09:24 +00:00
Simone Chemelli bbff9622a7
Fix Neato parameter for token refresh (#52785)
* Fix param

* cleanup
2021-07-09 13:12:51 -04:00
Chris 92ab471f7b
Add transition support to zwave_js lights (#52160)
* Add transition support to zwave_js lights

* Add transition support to color_switch lights

* simplify and add tests

* fix logic

* add check for color transition to add SUPPORT_TRANSITON supported features

* Use new metadata property

* Use new metadata property

* update tests and device state dump json files

* fix file perms

* update tests and fixtures with new metadata

* update test

* update test

* update tests for color transitions

* check for color tansitions as well

* more tests

* fix color transtions

* remove unneed default

* set add_to_watched_value_ids to false

* set transition default

* properly set default

* update tests

* make sure transition is an int

* suggested changes

* Update homeassistant/components/zwave_js/light.py

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

* Update homeassistant/components/zwave_js/light.py

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

* Update homeassistant/components/zwave_js/light.py

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

* Update homeassistant/components/zwave_js/light.py

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

* Update homeassistant/components/zwave_js/light.py

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

* formatting

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-07-09 12:15:20 -04:00
stefano055415 1e6229dd7b
Add device info to Freedompro (#52715)
* Update Freedompro

* Update homeassistant/components/freedompro/light.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-09 16:36:13 +02:00
Robert Svensson 2787dc9e97
Bump dependency to properly handle current and voltage not being reported on some zhapower endpoints (#52764) 2021-07-09 11:54:40 +02:00
Jc2k 7e2ef8f0c7
Support certain homekit devices that emit invalid JSON (#52759) 2021-07-09 11:51:46 +02:00
Otto Winter 07e2a7245f
Fix ESPHome Camera not merging image packets (#52783) 2021-07-09 11:38:38 +02:00
Brandon Rothweiler 2eb531b8c8
Upgrade pymazda to 0.2.0 (#52775) 2021-07-09 07:55:26 +02:00
GitHub Action f7e4db512f [ci skip] Translation update 2021-07-09 00:09:30 +00:00
Jc2k 5b257d2be8
Fix homebridge devices becoming unavailable frequently (#52753)
Update to aiohomekit 0.4.3 and make sure service type UUID is normalised before comparison

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-07-08 17:26:25 +01:00
apaperclip 49181d6ba8
Remove scale calculation for climacell cloud cover (#52752) 2021-07-08 12:10:05 -04:00
Jon Gilmore eb735b6162
Bump pylutron to 0.2.8 fixing python 3.9 incompatibility (#52702) 2021-07-08 15:18:08 +02:00
Robert Hillis 922ef3f2f3
Use entity class attributes for aurora (#52690)
* Use entity class attributes for aurora

* fix
2021-07-08 15:06:00 +02:00
Tom Matheussen 293690e3d8
Fix KNX Fan features (#52732)
* Fan entity should return support features

* Revert "Fan entity should return support features"

This reverts commit 3ad0e87708.

* Restore supported_features for KNX fan
2021-07-08 15:05:43 +02:00
Niels Mündler f069fbdb25
Upgrade Fronius dependency to 0.5.3 (#52737)
supports more values of new Gen24 type of fronius device
2021-07-08 14:45:34 +02:00
Jesse Hills 94e15b3eea
Esphome fix camera image (#52738) 2021-07-08 14:44:49 +02:00
jan iversen fe1f7ba316
Add check for _client existence in modbus (#52719) 2021-07-08 11:58:51 +02:00
jjlawren 578c897161
Ignore unused keys from Sonos device properties callback (#52660)
* Ignore known but unused keys from device callback

* Fix bug, add test
2021-07-08 11:56:50 +02:00
Robert Hillis 1c11b247e4
Use entity class attributes for apcupsd (#52662) 2021-07-08 11:55:26 +02:00
Robert Hillis 7d0751df8a
Use entity class attributes for anthemav (#52602) 2021-07-08 11:42:07 +02:00
Stefan Agner 1dd4ba5fcd
Fix precipitation calculation for hourly forecast (#52676)
It seems that hourly forecast have precipitation in 3h blocks.
2021-07-08 11:39:56 +02:00
Andre Lengwenus abca7deadb
Hint for str type instead of explicitly casting to str (#52712) 2021-07-08 10:42:27 +02:00
Franck Nijhof 62c7e5408b
Ensure Forecast.Solar returns an iso formatted timestamp (#52669) 2021-07-08 10:09:30 +02:00
avee87 5ff7c7708d
Use iso-formatted times in MetOffice weather forecast (#52672)
* Fixed raw datetime in MetOffice weather forecast

* Use datetime in sensor attribute
2021-07-08 10:01:06 +02:00
Robert Hillis c4d8d1dc8e
Use entity class attributes for Aten pe (#52687)
* Use entity class attributes for aten_pe

* Use entity class attributes for atag
2021-07-08 10:39:53 +03:00
Tobias Sauerwein cb0a7589ce
Use class properties in netatmo (#52705) 2021-07-08 09:30:54 +02:00
Robert Hillis 71b14b51b4
Use entity class attributes for aurora_abb_power (#52692) 2021-07-08 09:22:54 +02:00
uvjustin b021e2ee8c
Move recorder.py import to runtime (#52682) 2021-07-08 09:20:27 +02:00
Robert Hillis 5b49107007
Use entity class attributes for avion (#52696) 2021-07-08 09:16:47 +02:00
jjlawren dabb50f7ee
Warn if `interface_addr` remains in Sonos configuration (#52652) 2021-07-08 09:15:56 +02:00
Eric Severance 4e85bdd67c
pyWeMo version bump (0.6.5) (#52701) 2021-07-08 09:11:56 +02:00
Robert Hillis 4e848f60c4
Use entity class attributes for anel_pwrctrl (#52594)
* Use entity class attributes for anel_pwrctrl

* Tweak
2021-07-07 22:12:17 -04:00
GitHub Action b5a6d05778 [ci skip] Translation update 2021-07-08 00:13:44 +00:00
Aaron Bach f3c464786c
Bump simplisafe-python to 11.0.1 (#52684) 2021-07-07 19:45:39 -04:00
Aaron Bach aa022d4c52
Add missing type annotations to ReCollect Waste (#52600) 2021-07-07 17:40:03 -05:00
Aaron Bach f44a13970a
Add missing type annotations to Notion (#52599) 2021-07-07 17:39:52 -05:00
Aaron Bach 50d56fd755
Add missing type annotations to Guardian (#52598) 2021-07-07 17:39:34 -05:00
Allen Porter e895b6cd42
Refactor decompression timestamp validation logic in stream component (#52462)
* Refactor dts validation logic into a separate function

Create a decompression timestamp validation function to move the logic out of
the worker into a separate class. This also uses the python itertools.chain
to chain together the initial packets with the remaining packets in the
container iterator, removing additional inline if statements.

* Reset dts validator when container is reset

* Fix typo in a comment

* Reuse existing dts_validator when disabling audio stream
2021-07-07 15:29:15 -07:00
Simone Chemelli 5c82776411
Fix Fritz default consider home value (#52648) 2021-07-07 20:19:31 +02:00
Joakim Sørensen 351b67ffb1
Handle KeyError when accessing device information (#52650) 2021-07-07 20:18:43 +02:00
Anaïs Betts cd7f366501
Fix service registration typo in Nuki integration (#52631) 2021-07-07 17:25:52 +02:00
Pascal Vizeli b2ee4894f1
Bump opencv to 4.5.2.54 (#52630) 2021-07-07 16:43:19 +02:00
Bram Kragten e2b1cdafc9
Update frontend to 20210707.0 (#52624) 2021-07-07 10:43:45 +02:00
Chris 45fbc18eb0
Fix mysensors rgb light (#52604)
* remove assert self._white as not all RGB will have a white channel

* suggested change

* Update homeassistant/components/mysensors/light.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-07-07 10:34:14 +02:00
Franck Nijhof c5d806fdbe
Fix broadlink creating duplicate unique IDs (#52621) 2021-07-07 09:46:59 +02:00
Alexei Chetroi 88cd7f481d
Bump up ZHA dependencies (#52611) 2021-07-07 08:30:48 +02:00
GitHub Action 0c5ce9cac2 [ci skip] Translation update 2021-07-07 00:11:57 +00:00
Aaron Bach 9fb05736e4
Add type annotations to Ambient PWS (#52596) 2021-07-06 20:19:58 +02:00
Aaron Bach 2f1af9a254
Remove unnecessary async_setup method for Guardian (#52597) 2021-07-06 20:19:41 +02:00
Thibaut 5c07fb51a2
Update Somfy to reduce calls to /site entrypoint (#51572)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-06 18:48:48 +02:00
Shay Levy f5c3444072
Fix Sensibo timeout exceptions (#52513) 2021-07-06 18:34:56 +02:00
J. Nick Koston e1e3f68d0b
Revert nmap_tracker to 2021.6 version (#52573)
* Revert nmap_tracker to 2021.6 version

- Its unlikely we will be able to solve #52565 before release

* hassfest
2021-07-06 18:28:23 +02:00
Aaron Bach 40ad25df4c
Fresh attempt at SimpliSafe auto-relogin (#52567)
* Fresh attempt at SimpliSafe auto-relogin

* Fix tests
2021-07-06 18:21:25 +02:00
Erik Montnemery 6c8de16fbc
Enable basic type checking for fan (#52471) 2021-07-06 18:21:00 +02:00
Franck Nijhof 8fce858a76
Upgrade numpy to 1.21.0 (#52586) 2021-07-06 18:11:22 +02:00
Maciej Bieniek 62c3b3bdfe
Use HA location name as `name` in GIOS integration (#52585) 2021-07-06 17:52:22 +02:00
Erik Montnemery 3d7fd83ad4
Add home-assistant/core as codeowner for the template integration (#52592) 2021-07-06 17:35:11 +02:00
Robert Svensson 605f65b75d
Make use of entry id rather than unique id when storing deconz entry in hass.data (#52584)
* Make use of entry id rather than unique id when storing entry in hass data

* Update homeassistant/components/deconz/services.py

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

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-06 17:18:54 +02:00
Erik Montnemery 7ba1fdea70
Bump hatasmota to 0.2.20 (#52591) 2021-07-06 18:13:45 +03:00
Raman Gupta 81fe3583c9
Don't raise when setting HVAC mode without a mode ZwaveValue (#52444)
* Don't raise an error when setting HVAC mode without a value

* change logic based on discord convo and add tests

* tweak
2021-07-06 16:33:07 +02:00
Robert Hillis 6e779855f7
Clean up alarmdecoder (#52517)
* Clean up alarmdecoder

* fix

* try again

* tweak
2021-07-06 16:18:00 +02:00
ondras12345 07bda0973e
Fix update of Xiaomi Miio vacuum taking too long (#52539)
Home assistant log would get spammed with messages like
Update of vacuum.vacuum_name is taking over 10 seconds
every 20 seconds if the vacuum was not reachable through the network.

See #52353
2021-07-06 16:03:54 +02:00
Simone Chemelli 046eb1690a
Fix Fritz Wi-Fi 6 networks with same name as other Wi-Fi (#52588) 2021-07-06 15:49:22 +02:00
Simone Chemelli a70dae0843
Enable strict typing for Fritz (#50668)
Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-06 15:06:32 +02:00
RenierM26 12082736a8
Add type annotations to init and coordinator. Minor cleanups. (#52506) 2021-07-06 14:55:34 +02:00
Erik Montnemery 4d32e1ed01
Minor improvements of MQTT typing (#52578)
* Minor improvements of MQTT typing

* Tweak
2021-07-06 14:38:48 +02:00
Maciej Bieniek dc72c6c606
Improve config entry title for GIOS integration (#52583)
* Improve GIOS config entry title

* Usonly station name as title
2021-07-06 14:04:00 +02:00
Maciej Bieniek 669aca9585
Bump gios to version 1.0.2 (#52576) 2021-07-06 12:32:17 +02:00
Bram Kragten 33577e1bfc
Update frontend to 20210706.0 (#52577) 2021-07-06 11:52:53 +02:00
Andre Lengwenus e16ef10af5
Add type hints to LCN (#52509)
* Add type hints to LCN

* Fix requested review changes
2021-07-06 09:54:35 +02:00
Franck Nijhof b496469a2f
Fix unavailable entity capable of triggering non-numerical warning in Threshold sensor (#52563) 2021-07-06 09:33:00 +02:00
Robert Hillis 2a48fe5199
Use entity class attributes for aladdin_connect (#52516)
* Use entity class attributes for aladdin_connect

* fix

* fix

* fix pylint
2021-07-06 08:47:49 +02:00
Raman Gupta a70e8a65fa
Bump pyeight version to 0.1.9 (#52568) 2021-07-06 02:41:23 -04:00
GitHub Action d249530ed1 [ci skip] Translation update 2021-07-06 00:09:29 +00:00
J. Nick Koston 3191fef8d6
Update the ip/port in the homekit_controller config entry when it changes (#52554) 2021-07-05 15:16:49 -05:00
René Klomp 7d87efc996
Bump pysma version to 0.6.2 (#52553) 2021-07-05 22:04:55 +02:00
J. Nick Koston f74049e018
Bump aiohomekit to 0.4.2 (#52560)
- Changelog: https://github.com/Jc2k/aiohomekit/compare/0.4.1...0.4.2

- Fixes: #52548
2021-07-05 22:00:57 +02:00
Alexei Chetroi f58b231bbd
Bump up zha dependencies (#52555) 2021-07-05 14:00:32 -04:00
Tom Brien a4b97f7dcb
Update list of supported Coinbase wallet currencies (#52545) 2021-07-05 16:22:41 +02:00
J. Nick Koston 34782557b7
Bump zeroconf to 0.32.1 (#52547)
- Changelog: https://github.com/jstasiak/python-zeroconf/compare/0.32.0...0.32.1

- Fixes #52384
2021-07-05 09:17:11 -05:00
Franck Nijhof 74029a0948
Fix Statistics recorder migration path by dropping in pairs (#52453) 2021-07-05 13:34:40 +02:00
Franck Nijhof 5e9127ef7a
Remove problematic/redudant db migration happning schema 15 (#52541) 2021-07-05 13:28:01 +02:00
Tobias Sauerwein f9c7137d02
Use dataclasses in netatmo data handler (#52537)
* Switch to using dataclasses

* Clean up

* Update homeassistant/components/netatmo/data_handler.py
2021-07-05 13:05:18 +02:00
Robert Hillis 4cac85e3f5
Use entity class attributes for ads (#52488)
* Use entity class attributes for ads

* fix

* Update homeassistant/components/ads/cover.py

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Franck Nijhof <git@frenck.dev>
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2021-07-05 12:03:16 +02:00
Yuval Aboulafia 323088ff63
Fully type Tag component (#52540) 2021-07-05 11:54:00 +02:00
jan iversen 1cb298948f
Fix MODBUS connection type rtuovertcp does not connect (#52505)
* Correct host -> framer.

* Use function pointer
2021-07-05 11:45:50 +02:00
RenierM26 2e4f513526
Add type annotations and shorten sensor names on ezviz sensor platforms (#52475)
* Add basic typing and change name on sensor platforms.

* Complete type annotations for all functions.
2021-07-05 11:40:13 +02:00
Aaron Bach 64e63dedf6
Revert "Force SimpliSafe to reauthenticate with a password (#51528)" (#52484)
This reverts commit 549f779b06.
2021-07-05 11:38:31 +02:00
Robert Hillis 5367a036d2
Use entity class attributes for accuweather (#52431) 2021-07-05 11:36:04 +02:00
Erik Montnemery 1cc8280959
Enable basic type checking for the homeassistant component (#52464)
* Enable basic type checking for the homeassistant component

* Tweak
2021-07-05 11:26:31 +02:00
Erik Montnemery 600bea2459
Enable basic type checking for Google cast (#52434)
* Enable basic type checking for Google cast

* tweak
2021-07-05 11:14:41 +02:00
Robert Hillis 05b35cd98a
Rename goalzero sensor (#52452) 2021-07-05 11:05:53 +02:00
Shay Levy 6fc5a6a065
Fix CI failing due to Shell Command exception (#52483) 2021-07-05 10:38:55 +02:00
Robert Hillis 6d9628423c
Use entity class attributes for aftership (#52500)
* Use entity class attributes for aftership

* Tweaks

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-05 10:37:00 +02:00
Erik Montnemery 79ee112490
Enable basic type checking for mqtt (#52463)
* Enable basic type checking for mqtt

* Tweak
2021-07-05 10:33:12 +02:00
Robert Hillis 5321151799
Use entity class attributes for abode (#52427)
* Use entity class attributes for abode

* Apply suggestions from code review

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

* move from base class

* fix

* Undo light supported features

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-05 10:31:11 +02:00
Chris Talkington cacd803a93
Enable basic typing for roku (#52478)
* enable basic typing for roku

* Update mypy.ini

* Update media_player.py

* Create coordinator.py

* Update __init__.py

* Update media_player.py

* Update remote.py

* Update media_player.py

* Update coordinator.py

* Update coordinator.py

* Update remote.py

* Update entity.py

* Update coordinator.py

* Update config_flow.py

* Update entity.py

* Update const.py

* Update const.py

* Update const.py

* Update entity.py

* Update entity.py

* Update entity.py

* Update test_media_player.py

* Update test_remote.py
2021-07-05 10:27:52 +02:00
Yuval Aboulafia 0e7cd02d17
Add type checking and entity attributes for Fast.com (#52524)
* Cleanup fast.com (typing, attrs)

* Adress review

* fixes
2021-07-05 10:19:37 +02:00
Robert Hillis e9453bb344
Use entity class attributes for alert (#52518) 2021-07-05 09:42:39 +02:00
Robert Hillis e2b89e4650
Use entity class attributes for alpha_vantage (#52520)
* Use entity class attributes for alpha_vantage

* tweak

* clean up
2021-07-05 09:37:09 +02:00
Robert Hillis 4463d50711
Use entity class attributes for aemet (#52499) 2021-07-05 07:53:16 +02:00
Robert Hillis 3a2a688170
Use entity class attributes for ambiclimate (#52521)
* Use entity class attributes for ambiclimate

* tweak

* move some stuff
2021-07-05 07:51:10 +02:00
GitHub Action abc9b01ede [ci skip] Translation update 2021-07-05 00:09:10 +00:00
Aaron Bach 5ce4de7bbb
Migrate AirVisual `air_quality` platform to `sensor` platform (#52349)
* Migrate AirVisual air_quality platform sensors

* Remove redundancy

* Cleanup

* Properly set available

* Unwind config_entry -> entry name change

* More unwinding

* Rename

* Update homeassistant/components/airvisual/sensor.py

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

* Code review

* Linting

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-04 12:16:06 -06:00
Maciej Bieniek bdf247faaa
Migrate GIOS air_quality platform to sensor (#52295) 2021-07-04 11:54:07 -05:00
J. Nick Koston 27295d8f58
Remove empty hosts and excludes from nmap configuration (#52489) 2021-07-04 11:40:33 -05:00
Robert Hillis 8ccb338a9b
Use entity class attributes for airnow (#52502) 2021-07-04 11:33:52 -05:00
J. Nick Koston cfe2017dd9
Bump HAP-python to 3.5.1 (#52508)
- Fixes additional cases of invalid mdns hostnames
2021-07-04 17:16:42 +03:00
RenierM26 73c6aa701f
Add basic typing to ezviz camera platform (#52492)
* Add basic typing to camera platform. Small cleanups.

* Add full typing to all functions
2021-07-04 13:16:27 +02:00
Guido Schmitz 77a06e01f7
Update devolo-home-control-api (#52497) 2021-07-04 11:56:16 +03:00
Raman Gupta 8f186957ea
Mark entities for dead zwave_js nodes as unavailable (#48017)
* Don't create any devices or entities for dead zwave_js nodes

* mark entities for dead nodes as unavailable

* add test

* watch for node status updates

* update tests to handle node status changes as well
2021-07-03 22:06:07 -04:00
GitHub Action 378b5f75ec [ci skip] Translation update 2021-07-04 00:09:33 +00:00
Aaron Bach d980dd8d59
Deprecate YAML config for Ambient PWs (2021.9.0 removal) (#52459) 2021-07-03 14:45:51 -05:00
Aaron Bach e29c75a68e
Remove redundant property definitions in Tile (#52448) 2021-07-03 11:29:52 -05:00
Aaron Bach 8c0559cc57
Remove redundant property definitions in RainMachine (#52456)
* Remove redundant property definitions in RainMachine

* Incorrect attribute name
2021-07-03 11:23:52 -05:00
Aaron Bach 413c3afa12
Remove redundant property definitions in SimpliSafe (#52458)
* Remove redundant property definitions in SimpliSafe

* Remove useless init
2021-07-03 11:16:55 -05:00
Aaron Bach 513bcbc02b
Replace custom listener with helper in SimpliSafe (#52457) 2021-07-03 11:01:41 -05:00
Erik Montnemery b3b377ac8b
Enable basic type checking for gogogate2 (#52467)
* Enable basic type checking for gogogate2

* Tweak

* Update homeassistant/components/gogogate2/common.py

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>

* Tweak

Co-authored-by: Ruslan Sayfutdinov <ruslan@sayfutdinov.com>
2021-07-03 16:06:42 +01:00
Erik Montnemery 44b44b5bd6
Enable basic type checking for climate (#52470)
* Enable basic type checking for climate

* Tweak
2021-07-03 16:06:12 +01:00
J. Nick Koston f52d838b7a
Bump aiohomekit to 0.4.1 (#52472)
- Fixes mdns queries being sent with the original case received on the wire
  Some responders were case sensitive and needed the original case sent

- Reduces mdns traffic
2021-07-03 17:01:41 +02:00
Maciej Bieniek 0cb61b628d
Improve typing in Sony Bravia TV integration (#52438)
* Strict typing

* Variables typing

* Suggested change

* Fix pylint

* Use suppress instead of try..except

* Remove unused variables

* Suggested change

* Fix pylint

* Fix typing for unique_id
2021-07-03 14:37:54 +01:00
Simone Chemelli 69b9a9c4ee
Merge fritzbox_netmonitor integration into fritz (#52264)
* Merge netmonitor integration

* cleanup additional files

* Use attrs instead of properties

* Add state_class to relevant sensors

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* Update homeassistant/components/fritz/sensor.py

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

* mypy fix + small cleanup

* Round, GB and icons

* Update homeassistant/components/fritz/sensor.py

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

* remove state_class from no-reset counters

Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-03 16:26:43 +03:00
GitHub Action 4b7442412a [ci skip] Translation update 2021-07-03 00:09:34 +00:00
Aaron Bach 40b629cd06
Replace custom listener with helper in ReCollect Waste (#52445) 2021-07-02 15:23:17 -06:00
Franck Nijhof 7f3f6757ea
Fix Statistics recorder migration order (#52449) 2021-07-02 20:55:40 +02:00
Simone Chemelli 8347cf3731
Fix Fritz call deflection list (#52443) 2021-07-02 19:21:05 +02:00
Guido Schmitz 8c7ef5b1b9
Add static typing to devolo_home_control (#52396) 2021-07-02 18:37:18 +02:00
Aaron Bach e435ac6fcd
Remove redundant property definitions in ReCollect Waste (#52368)
* Remove redundant property definitions in ReCollect Waste

* Code review

* Code review
2021-07-02 11:14:29 -05:00
Shay Levy 1eb27f7ccc
Demo: remove deprecated switch entity properties (#52424)
* Demo: deprecate switch entity properties

* Fix emulated_kasa test
2021-07-02 17:50:57 +02:00
Robert Hillis 5cd4471c67
Add sensor platform to goalzero (#49835)
* Add sensor platform to goalzero

* Tweak

* Remove unused DATA_SCHEMA

* Simplify

* Remove last_reset

* Update on reload
2021-07-02 17:43:37 +02:00
J. Nick Koston a3f1489785
Import track_new_devices and scan_interval from yaml for nmap_tracker (#52409)
* Import track_new_devices and scan_interval from yaml for nmap_tracker

* Import track_new_devices and scan_interval from yaml for nmap_tracker

* Import track_new_devices and scan_interval from yaml for nmap_tracker

* tests

* translate

* tweak

* adjust

* save indent

* pylint

* There are two CONF_SCAN_INTERVAL constants

* adjust name -- there are TWO CONF_SCAN_INTERVAL constants

* remove CONF_SCAN_INTERVAL/CONF_TRACK_NEW from user flow

* assert it does not appear in the user step
2021-07-02 17:24:43 +02:00
Erik Montnemery 98fdb00bc7
Enable basic type checking for Tasmota (#52435) 2021-07-02 16:45:38 +02:00
Erik Montnemery ed25e6fada
Correct recorder table arguments (#52436) 2021-07-02 16:28:16 +02:00
Erik Montnemery 11fd9d9525
Avoid duplicated database queries when fetching statistics (#52433) 2021-07-02 15:40:54 +02:00
Milan Meulemans 7b940d2382
Fix typo in forecast_solar strings (#52430) 2021-07-02 15:09:36 +02:00
Franck Nijhof dec08e2e44
Upgrade aioimaplib to 0.9.0 (#52422) 2021-07-02 14:10:32 +02:00
Erik Montnemery 24ae05b734
Drop statistic_id and source columns from statistics table (#52417)
* Drop statistic_id and source columns from statistics table

* Remove useless double drop of statistics table

* Update homeassistant/components/recorder/models.py

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

* black

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-02 13:17:00 +02:00
Joakim Plate d339e3bd8c
Reject trusted network access from proxies (#52388) 2021-07-02 11:49:42 +02:00
Tobias Sauerwein 7291228e16
Remove boilerplate code in favour of attributes in Netatmo integration (#52395)
* Make use of attributes

* Add suggestions

* Update homeassistant/components/netatmo/sensor.py

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>

* Update homeassistant/components/netatmo/sensor.py

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>

Co-authored-by: Daniel Hjelseth Høyer <mail@dahoiv.net>
2021-07-02 11:36:37 +02:00
Sören Krollmann 2ed1efc3a3
Add rainbird set_rain_delay service (#52369)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-02 11:20:00 +02:00
Tom Brien b3a625593e
Add update listener to Coinbase (#52404)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-07-02 11:15:05 +02:00
Tobias Sauerwein 14d3286b21
Clean up netatmo sensor data processing (#52403) 2021-07-02 10:08:54 +02:00
Erik Montnemery 16d2dcbfb2
Improve sensor statistics tests (#52386) 2021-07-02 09:51:47 +02:00
Aaron Bach 887753e06d
Remove redundant property definitions in OpenUV (#52379)
* Remove redundant property definitions in OpenUV

* Update homeassistant/components/openuv/__init__.py

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

* Code review

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-02 09:47:49 +02:00
Aaron Bach 6fa312d476
Remove redundant property definitions in Guardian (#52361)
* Remove redundant property definitions in Guardian

* Update incorrect attributes
2021-07-02 07:49:05 +02:00
Raman Gupta 9d04ba2804
Bump eight sleep dependency to fix bug (#52408) 2021-07-02 07:36:48 +02:00
GitHub Action ad20b5ced0 [ci skip] Translation update 2021-07-02 00:11:25 +00:00
Franck Nijhof a85ba1b34c
Upgrade wled to 0.7.1 (#52405) 2021-07-02 00:30:33 +02:00
René Klomp d6ed5dac8b
Bump pysma to 0.6.1 (#52401) 2021-07-01 21:32:46 +02:00
Yuval Aboulafia 1337dfed8c
Use attributes instead of properties for uptime (#52398)
* Use attributes instead of properties for uptime

* add missing types
2021-07-01 21:31:30 +02:00
Alexei Chetroi 8e846164a4
Bump up ZHA dependencies (#52374)
* Bump up ZHA dependencies

* Fix broken tests

* Update tests/components/zha/common.py

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

Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-07-01 14:05:55 -04:00
Erik Montnemery 520b500165
Fix MQTT cover optimistic mode (#52392)
* Fix MQTT cover optimistic mode

* Add test
2021-07-01 17:34:59 +02:00
posixx 312531988a
Vacation Mode on Alarm Panels (#45980)
Co-authored-by: Nathan Tilley <nathan@tilley.xyz>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Khole Jones <ktech6@outlook.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-07-01 17:26:32 +02:00
Erik Montnemery 57fbb1c3d9
Fix sensor statistics collection with empty states (#52393) 2021-07-01 14:53:03 +02:00
Erik Montnemery 2097ab76f5
Allow combining value_template and position_template for template cover (#52383) 2021-07-01 14:09:48 +02:00
Alexei Chetroi 7f309b4e6e
Add support for Formaldehyde and VOC level sensors (#52232) 2021-07-01 07:34:09 -04:00
Franck Nijhof 451b976458
Demo: Explicitly return None when no extra state attribute set (#52390) 2021-07-01 12:43:37 +02:00
Lars c1c078c3d5
Bump pyfritzhome to 6.2.0 (#52345) 2021-07-01 12:14:37 +02:00
Aaron Bach 60ea219101
Remove redundant property definitions in Notion (#52367)
* Remove redundant property definitions in Notion

* Code review
2021-07-01 11:24:19 +02:00
Dermot Duffy 2868fef7d4
Add motion detection support to motionEye (#49665) 2021-07-01 11:22:43 +02:00
Aaron Bach 7bd8e2aa55
Remove redundant property definitions in Flu Near You (#52377) 2021-07-01 11:04:39 +02:00
Aaron Bach 8f70b5c183
Fix missing default latitude/longitude/elevation in OpenUV config flow (#52380) 2021-07-01 10:35:14 +02:00
Bruce Sheplan f8eb07444b
Add screenlogic reconnect (#52022)
Co-authored-by: Kevin Worrel <37058192+dieselrabbit@users.noreply.github.com>
2021-07-01 10:11:01 +02:00
Frederik Bolding 72b55d1830
Bump bt_proximity (#52364) 2021-07-01 07:48:29 +02:00
Aaron Bach f98a5cc233
Remove redundant property definitions in IQVIA (#52378) 2021-07-01 07:31:46 +02:00
GitHub Action 86f46753c9 [ci skip] Translation update 2021-07-01 00:12:17 +00:00
Aaron Bach cb2b6f5ff4
Remove redundant property definitions in Ambient PWS (#52350) 2021-07-01 00:30:54 +02:00
Tobias Sauerwein b4e550dee2
Bump pyatmo to v5.2.0 (#52365)
* Bump pyatmo to v5.2.0

* Revert formatting changes
2021-07-01 00:19:22 +02:00
Franck Nijhof 04e631ed1f
Remove deprecated YAML configuration from VeSync (#52358) 2021-06-30 16:29:44 -04:00
Franck Nijhof 635cf59909
Remove deprecated YAML configuration from Abode (#52357) 2021-06-30 16:28:57 -04:00
Yuval Aboulafia 4a94ed8f5a
Use attrs instead of property for Jewish Calendar (#52333)
* Use attrs instead of property for Jewish Calendar

* clean time sensor class

* move type and prefix up

* revert is_on attribute
2021-06-30 22:24:19 +03:00
J. Nick Koston 63c727ac6c
Update homekit_controller to use async zeroconf (#52330) 2021-06-30 18:09:19 +02:00
Erik Montnemery d450cda385
Report target unit in statistics meta data (#52341) 2021-06-30 16:53:51 +02:00
Matthias Alphart 9ed93de472
xknx 0.18.8 (#52340) 2021-06-30 15:06:33 +02:00
Erik Montnemery 9d0c4c168e
Convert units when fetching statistics (#52338) 2021-06-30 14:53:42 +02:00
Erik Montnemery 0476c7f9ee
Normalize temperature statistics to °C (#52297)
* Normalize temperature statistics to °C

* Fix tests

* Support temperature conversion to and from K, improve tests

* Fix test

* Add tests, pylint
2021-06-30 14:17:58 +02:00
Bram Kragten 508f9a8296
Update frontend to 20210630.0 (#52336) 2021-06-30 13:34:28 +02:00
Erik Montnemery 0ab999738b
Add statistics meta data table (#52331)
* Add statistics meta data table

* Tweak meta data generation
2021-06-30 13:32:17 +02:00
stefano055415 d8337cf98f
Add Freedompro (#46332)
Co-authored-by: Milan Meulemans <milan.meulemans@live.be>
Co-authored-by: Maciej Bieniek <bieniu@users.noreply.github.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-30 13:21:06 +02:00
Tom Schneider dc407fe7a1
Fix MusicCast subwoofers (#52335) 2021-06-30 13:09:57 +02:00
mlemainque a7ece4ecaa
Fix Daikin integration power sensors (#51905) 2021-06-30 12:01:08 +02:00
Brian Towles 3e4dacb885
Add Modern Forms binary sensor platform (#52312)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-06-30 11:56:02 +02:00
Aaron Bach 3902f0bdd4
Speed up lookup of AirVisual pollutant labels, levels, and units (#52327)
* Speed up lookup of AirVisual pollutant levels, labels, and units

* Mispellings
2021-06-30 11:33:50 +02:00
Anaïs Betts da9bb99ba8
Create service to enable Continuous Mode on Nuki Opener (#51861) 2021-06-30 08:43:02 +02:00
Carlos Gomes f2906d0fca
Add quantiles to Statistics integration (#52189)
* Add quantiles as another Statistics attribute

Quantiles divide states into intervals of equal probability. The
statistics.quantiles() function was added in Python 3.8 and can now
be included in the Statistics integration without new dependencies.

Quantiles can be used in conjunction with other distribution metrics to
create box plots (quartiles) and other graphical resources for
visualizing the distribution of states.

* Add quantiles reference to basic tests
2021-06-30 08:31:33 +02:00
J. Nick Koston 9f16e390f5
Deprecate IPv6 zeroconf setting in favor of the network integration (#51173) 2021-06-29 17:13:31 -10:00
Fredrik Erlandsson 3c20f2dd42
Fix point ConnectionTimeout during startup (#52322) 2021-06-29 21:10:25 -04:00
GitHub Action 5baaede85b [ci skip] Translation update 2021-06-30 00:11:18 +00:00
Daniel Hjelseth Høyer 04d8f88269
Fix Mill consumption data (#52320)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-06-30 01:31:56 +02:00
Otto Winter f772eab7b7
ESPHome delete store data when unloading entry (#52296) 2021-06-29 15:06:24 -07:00
Erik Montnemery cca5964ac0
Normalize pressure statistics to Pa (#52298) 2021-06-29 23:30:13 +02:00
J. Nick Koston 2eebfe6ff3
Fix esphome startup with missing api_version key (#52324) 2021-06-29 22:50:29 +02:00
Heine Furubotten 56d1bf255b
Bump enturclient to v0.2.2 (#52321) 2021-06-29 16:34:09 -04:00
Franck Nijhof 7c39092aa8
Upgrade nmap tracker with forked package for compatibility (#52300)
* Upgrade nmap tracker with forked package for compatibility

* Bump to 0.7.0.2

* Bump cache version
2021-06-29 21:50:25 +02:00
Aaron Bach ddef5d2314
Refactor Tile entity unique ID migration to use helper (#52315)
* Refactor Tile entity unique ID migration to use helper

* Clarify

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-06-29 21:15:56 +02:00
Aaron Bach 935f4d16a9
Fix small inconsistencies in RainMachine vegetation and sprinkler types (#52313) 2021-06-29 13:57:28 -04:00
Otto Winter b43d0877e7
ESPHome Migrate to dataclasses (#52305) 2021-06-29 19:53:57 +02:00
Daniel Hjelseth Høyer ba7ad8a58f
Add Melcloud device class and state class (#52276) 2021-06-29 19:16:43 +02:00
Koen Kanters 2576dd9da9
Fix Todoist incorrect end date when task has no time (#52258) 2021-06-29 10:15:50 -07:00
Teemu R 6afa4d6914
Skip updating tplink bulb state if the new state not reported by the device (#52310) 2021-06-29 19:14:34 +02:00
Simone Chemelli 7959225fef
Add switch platform to Fritz (#51610)
* Add switch platform to Fritz

* Fix tests

* Pylint

* Small fix

* Bump fritzprofiles to fix log level and identifier

* Fix different WiFi networks with same name

* Changed exposed attributes

* Moved to extra_state

* Remove redundant lambda

* Add missing wait

* Removed identifiers

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Add mapping dict

* Device Profile disabled by default

* Heavy cleanup

* Tweak

* Bug fix

* Update homeassistant/components/fritz/switch.py

Co-authored-by: Aaron David Schneider <aaron.schneider@nbi.ku.dk>

* Fix port forward switching + small log improvement

* Cleanup from old approach

* Handle port mapping hot removal (from device)

* Minor fixes

* Typying

* Removed lambda call

* Last missing strict typing

* Split get entities

* Func rename

* Move FritzBoxBaseSwitch to switch.py

* Removed lambda

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/common.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Fixes after applying comments

* Remvoed redundant try block

* Removed broad-except

* Optimized async/sync switch

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Address remaining comments

* Optimize return list

* More optimization for return lists

* Some missing strict typing

* Redundant typing

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Wrong if

* Introduce const for profile status

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update homeassistant/components/fritz/switch.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Fix mypy

* Switch back to get_local_ip()

* Address latest comments

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Aaron David Schneider <aaron.schneider@nbi.ku.dk>
2021-06-29 11:57:34 -04:00
Tom Brien 897f5d9247
Coinbase code quality improvements from review (#52307)
* Fix breaking loop if single bad currency

* Remove unneeded update

* Reduce executor calls and use helper

* Avoid setting up integration when not needed in test

* Remove defunct info from strings

* Move already configured check

* Move instance update out of data class init
2021-06-29 11:54:38 -04:00
Franck Nijhof b11af5e6f8
Fix Garmin Connect sensor dependency import (#52306) 2021-06-29 16:39:25 +02:00
Erik Montnemery 8a00c3a2f5
Implement color_mode support for kulersky (#52080) 2021-06-29 16:31:29 +02:00
Franck Nijhof f1b40b683d
Disable dependency checks and tests for disabled EE Brightbox integration (#52304) 2021-06-29 16:09:42 +02:00
Joakim Sørensen 720a67957b
Bump hass-nabucasa to 0.44.0 (#52303) 2021-06-29 16:04:21 +02:00
Franck Nijhof d3210ada1d
Allow None value return type for Number entity state value (#52302) 2021-06-29 15:07:31 +02:00
Erik Montnemery 6131ed09f0
Compile statistics for power sensors (#52299) 2021-06-29 14:48:08 +02:00
Jesse Hills e1797ea670
Add number entities to ESPHome (#52241)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-06-29 14:33:04 +02:00
Adrián Moreno a639cb7ba7
Add sensor platform to Meteoclimatic integration (#51467)
* Add meteoclimatic sensor platform

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Add sensor.py to coverage file

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Add explicit return type None

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Fix sample station code

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Apply frenck suggestions

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Remove extra attributes

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Revert translations

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>

* Remove None icons and classes

Signed-off-by: Adrian Moreno <adrian@morenomartinez.com>
2021-06-29 13:52:39 +02:00
Franck Nijhof 3311b1bafb
Small clean up for Motion Blinds (#52281) 2021-06-29 14:08:19 +03:00
Erik Montnemery c785db4ffa
Normalize energy statistics to kWh (#52238) 2021-06-29 12:20:10 +02:00
Erik Montnemery b77f2b9e12
Filter MQTT camera JSON attributes (#52279)
* Filter MQTT camera JSON attributes

* Add missing attribute to blocked list
2021-06-29 12:14:02 +02:00
Erik Montnemery 39a064683a
Filter MQTT cover JSON attributes (#52282) 2021-06-29 11:59:23 +02:00
Franck Nijhof 8a82557142
Demo: Remote improvements (#52265)
* Demo: Remote improvements

* Address pylint warning
2021-06-29 11:32:46 +02:00
Erik Montnemery a7dd7c1a3d
Filter MQTT select JSON attributes (#52288) 2021-06-29 11:22:58 +02:00