Commit Graph

25566 Commits (c3eee9800af59563dfa0b4b2bc6b4c229b9cd387)

Author SHA1 Message Date
Franck Nijhof 1c98df5d18
Remove YAML configuration from Somfy MyLink (#50359)
* Remove YAML configuration from Somfy MyLink

* Keep deprecation warning
2021-05-10 11:53:37 +02:00
J. Nick Koston f581616064
Loosen flume dhcp discovery matching (#50379) 2021-05-09 19:32:00 -05:00
HomeAssistant Azure dfe8ab6666 [ci skip] Translation update 2021-05-10 00:04:47 +00:00
Jeff Irion 65fb852e03
Bump androidtv to 0.0.59 (#50367) 2021-05-09 18:52:24 -05:00
Steven Looman e284a14ccd
Upgrade async_upnp_client to 0.17.0 (#50371) 2021-05-09 17:06:47 -05:00
Alan Tse c1a316b2ec
Increase httpx timeout for Tesla (#50376) 2021-05-09 16:30:38 -05:00
Michael 042822e35e
Improve typing for synology_dsm (#49656) 2021-05-09 22:44:55 +02:00
Franck Nijhof 717f4e69d5
Remove defunct Spot Crime integration (#50361) 2021-05-09 22:23:52 +02:00
Erik Montnemery e57634b1e0
Bump hatasmota to 0.2.12 (#50372) 2021-05-09 22:57:27 +03:00
tkdrob ee58f6105e
Add selectors to webostv services (#50239) 2021-05-09 21:45:24 +02:00
Raman Gupta 1b81849271
Add zwave_js support for HeatIt Z-TRM2fx (#50317)
* Add zwave_js support for HeatIt Z-TRM2fx

* fix docstring

* use AwesomeVersion to support firmware version ranges

* add guard against empty firmware range

* switch guard approach to raise exception sooner

* make post init more generic

* Set up firmware range schema as AwesomeVersion during initialization

* Update homeassistant/components/zwave_js/discovery.py

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

* Allow min_ver and max_ver to be None

* fix docstring

* reduce import scope

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-09 15:28:35 -04:00
Franck Nijhof ba31d7d1b4
Upgrade sentry-sdk to 1.1.0 (#50349) 2021-05-09 14:30:34 -04:00
Franck Nijhof 0eeb147eda
Upgrade watchdog to 1.1.0 (#50351) 2021-05-09 14:29:27 -04:00
Franck Nijhof 43adba4aff
Deprecate Synology DSM YAML configuration (#50366) 2021-05-09 14:28:24 -04:00
Franck Nijhof 3f463f22a1
Deprecate Luftdaten YAML configuration (#50365) 2021-05-09 14:27:56 -04:00
Franck Nijhof b2cee2e602
Remove YAML configuration from Tuya (#50360)
* Remove YAML configuration from Tuya

* Keep deprecation warning
2021-05-09 14:26:26 -04:00
jan iversen ec08256ff0
Do not use async_* in a modbus sync function (#50343) 2021-05-09 19:50:23 +02:00
Shay Levy be73067f9c
Fix Shelly type hints (#50322) 2021-05-09 19:46:53 +02:00
Dermot Duffy 4e4042a869
Fix types for WLED (#50001) 2021-05-09 19:34:21 +02:00
Franck Nijhof 2ca0eb61dc
Deprecate Pi-hole YAML configuration (#50358) 2021-05-09 19:23:55 +02:00
Franck Nijhof 0a95aa282c
Upgrade debugpy to 1.3.0 (#50356) 2021-05-09 11:29:28 -05:00
Ruslan Sayfutdinov 9b058551f7
Enable type checks for camera platform (#50179) 2021-05-09 18:04:57 +02:00
EddyK69 e9709d4449
Add LastTrip sensors for BMW Connected Drive (#45906) 2021-05-09 17:51:58 +02:00
Franck Nijhof ce02614780
Deprecate Hive YAML configuration (#50357) 2021-05-09 17:43:56 +02:00
J. Nick Koston a74aa9272c
Add dhcp discovery to tplink (#50303) 2021-05-09 10:03:41 -05:00
gabrialdestruir f814a7a8ae
Add tplink light setting ignore default (#50334)
This fixes issue #50115 by allowing color, brightness, and temperature to be set from an off state. This adds code to allow "ignore_default=1" to be sent to bulb letting it know to power on with the parameters set.
2021-05-09 16:27:49 +02:00
Franck Nijhof cbf4632895
Remove YAML configuration from SolarEdge (#50105)
* Remove YAML configuration from SolarEdge

* Restore already setup tests
2021-05-09 12:03:41 +02:00
J. Nick Koston 2bff7f8020
Remove YAML support from gogogate2/ismartgate (#50312) 2021-05-09 11:46:07 +02:00
J. Nick Koston 29cd5f20b9
Add zeroconf discovery to powerview (#50308) 2021-05-09 11:41:27 +02:00
J. Nick Koston 9cab8a19cd
Add iCloud discovery (#50304)
Since homekit requires iCloud keychains to be enabled, if they
have a homekit hub, they must have iCloud.
2021-05-09 11:19:26 +02:00
jjlawren 85d782808c
Fix Sonos polling bug (#50265) 2021-05-09 11:09:56 +02:00
hubbergit 4d9d565ecc
Fix unit of measurement from Pa to hPa (#49664)
The unit of measurement should be hPa instead of Pa for the air pressure.
2021-05-09 10:07:51 +02:00
Brian Rogers 07a93be176
Revert Rachio to seconds instead of total_seconds (#50307)
* revert seconds

* Add comment

* Update comment to include max runtime
2021-05-09 05:09:31 +02:00
Aidan Timson 9059ce1c0f
Additional System Bridge Sensors (#50274)
* Update systembridge to 1.1.4

* Update systembridge to 1.1.5

* Names

* Add memory sensors

* Set icons

* Add bios version sensor

* Memory used percentage sensor

* Add types

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

* Disable by default

* Typing

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-09 05:07:13 +02:00
tkdrob e92516c072
Add targets and selectors to services (A) (#49818) 2021-05-09 02:21:00 +02:00
HomeAssistant Azure 6665a62557 [ci skip] Translation update 2021-05-09 00:04:11 +00:00
Gleb Sinyavskiy 52b1a416d9
Remove the N26 integration (#50292) 2021-05-09 00:58:23 +02:00
Joakim Plate 10afbe4279
Bump ha-philipsjs to 2.7.3 (#50293) 2021-05-08 20:33:55 +02:00
Franck Nijhof 61b0e66405
Fix ESPHome timestamp sensor (#50305) 2021-05-08 19:37:09 +02:00
J. Nick Koston 4853fb7966
Fix tplink unloading when no switches are present (#50301) 2021-05-08 19:20:22 +02:00
Gleb Sinyavskiy 97eb4c6c62
Add syncthing integration (#38331)
* Scaffold the integration

* Add config flow data schema

* Handle configuration errors

* Get folder states

* Support https

* Fix translations

* Listen to syncthing events in a separate thread

* Bump syncthing

* Automatically reconnect to the syncthing server

* Renames

* Improve loading and unloading

* Update folder states from events

* Refactoring, handle FolderPaused event

* Dynamic folder icons

* Refactoring

* Mark folders as unavailable when senrver is unavailable

* Update folder satus when server is available

* Raise PlatformNotReady

* Implement additional polling

* Stop polling when the server is not available

* Minor fixes

* Remove logging

* Check name uniqueness

* Refactoring

* Minor refactorings

* Bump python-syncthing

* Migrate to aiosyncthing

* Minor fixes

* Update .coveragerc

* Set quality scale

* Bump aiosyncthing, properly handle invalid token

* Fix logging

* Fix logging

* Use CONF_VERIFY_SSL from homeassistant.const

* Bump aiosyncthing. Add Syncthing device

* Fix device name

* Bump aiosyncthing

* Bump aiosyncthing

* Extract SyncthingClient

* Add folder to device_state_attributes

* Do not pass the loop

* Cover config_flow.py

* Move self.async_create_entry outside of the try block

* Raise ConfigEntryNotReady if syncthing server is not reachable

* Fix already configured error message

* Change default name to Syncthing

* Bump aiosyncthing

* Fix formatting

* Fix formatting

* Fix tests

* Fix typo, use lis comprehension

* Fix typo, remove unused CONFIG_SCHEMA

* Bump aiosyncthing

* Remove periods from log messages W0001

* Fix tests

* Black, isort

* Remove empty items from manifest.json

* Fix variable naming

* Remove async_setup

* Use SensorEntity

* Use asyncio.create_task instead of self._hass.loop.create_task

* Do not pass hass to FolderSensor initializer

* Rename device_state_attributes to extra_state_attributes

* Use callbacks

* Simplify tests

* Refactor _listen()

* Use url for the title

* Use the url instead of the name to identify the config entry

* Explicitly set sensor attributes, extract _filter_state

* Use server url instead of name in device_info

* Use server url instead of name in logs

* User server id as a device identifier

* Use URL instead of name to identify config entry

* Use shortened server id instead of name to build entity name and unique id

* Do not use CONF_NAME

* Cleanup unused strings

* Cleanup unused strings

* Add IOT class

* Scaffold the integration

* Add config flow data schema

* Handle configuration errors

* Get folder states

* Support https

* Fix translations

* Listen to syncthing events in a separate thread

* Bump syncthing

* Automatically reconnect to the syncthing server

* Renames

* Improve loading and unloading

* Update folder states from events

* Refactoring, handle FolderPaused event

* Dynamic folder icons

* Refactoring

* Mark folders as unavailable when senrver is unavailable

* Update folder satus when server is available

* Raise PlatformNotReady

* Implement additional polling

* Stop polling when the server is not available

* Minor fixes

* Remove logging

* Check name uniqueness

* Refactoring

* Minor refactorings

* Bump python-syncthing

* Migrate to aiosyncthing

* Minor fixes

* Update .coveragerc

* Set quality scale

* Bump aiosyncthing, properly handle invalid token

* Fix logging

* Fix logging

* Use CONF_VERIFY_SSL from homeassistant.const

* Bump aiosyncthing. Add Syncthing device

* Fix device name

* Bump aiosyncthing

* Bump aiosyncthing

* Extract SyncthingClient

* Add folder to device_state_attributes

* Do not pass the loop

* Cover config_flow.py

* Move self.async_create_entry outside of the try block

* Raise ConfigEntryNotReady if syncthing server is not reachable

* Fix already configured error message

* Change default name to Syncthing

* Bump aiosyncthing

* Fix formatting

* Fix formatting

* Fix tests

* Fix typo, use lis comprehension

* Fix typo, remove unused CONFIG_SCHEMA

* Bump aiosyncthing

* Remove periods from log messages W0001

* Fix tests

* Black, isort

* Remove empty items from manifest.json

* Fix variable naming

* Remove async_setup

* Use SensorEntity

* Use asyncio.create_task instead of self._hass.loop.create_task

* Do not pass hass to FolderSensor initializer

* Rename device_state_attributes to extra_state_attributes

* Use callbacks

* Simplify tests

* Refactor _listen()

* Use url for the title

* Use the url instead of the name to identify the config entry

* Explicitly set sensor attributes, extract _filter_state

* Use server url instead of name in device_info

* Use server url instead of name in logs

* User server id as a device identifier

* Use URL instead of name to identify config entry

* Use shortened server id instead of name to build entity name and unique id

* Do not use CONF_NAME

* Cleanup unused strings

* Cleanup unused strings

* Add IOT class

* Apply suggestions from code review

* Clean up

* Fix dict comprehension

* Clean sensor

* Use the server ID as a config entry unique ID

* Remove the AlreadyConfigured exception

* Clean up old error string

* Format json

* Convert sensor attributes to snake case

* Force CI

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-08 19:12:14 +02:00
Oliver 7374b844d7
Update denonavr to version 0.10.7 (#50288) 2021-05-08 10:53:08 -05:00
jan iversen 29eb31e9da
Add configurable delay between connect and first request in modbus (#50124)
* Activate startup delay.

* Add removal of call_later if HA is stopped.

This is unlikely to happen, but just security measure.

* Removing timing interval.

async_fire_time_changed() needs to be called twice, first time the delay is
ended and second time update() is executed.

* Variable naming.
2021-05-08 13:28:35 +02:00
Vladimír Záhradník e0de6752af
Fix incorrect attribute checks in Modbus hub (#50241) 2021-05-08 13:26:31 +02:00
Leonardo Figueiro e3bc9eaf5f
pywilight update (#50207) 2021-05-08 04:26:13 -05:00
J. Nick Koston bf2d40adfe
Migrate from pytz to python-dateutil (#49643)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-07 22:46:26 -07:00
Brian Rogers 13fe837fd2
Add service target to Rachio (#49913) 2021-05-07 22:24:37 -05:00
Simone Chemelli c85f70b639
Small code cleanup for Shelly (#50270) 2021-05-07 22:14:41 -05:00
Aidan Timson a32dc56153
Update ovoenergy to 1.1.12 (#50268) 2021-05-07 22:05:09 -05:00
HomeAssistant Azure f32e15da36 [ci skip] Translation update 2021-05-08 00:03:19 +00:00
Pawel 57d3342137
Fix Epson config flow unique_id (#45434)
* switch Epson from HTTP to TCP communication

* fix tests

* add asyncio websession

* fix manifest

* fix config flow

* fix manifest

* fix logger warnings

* switch Epson from HTTP to TCP communication

* fix tests

* add asyncio websession

* fix config flow

* fix manifest

* fix logger warnings

* add already configured to import yaml

* remove neccessary projector on on config.yaml

* remove check import None

* reload integration if no unique_id

* async_migrate_entry

* add async_migrate_entry

* add init tests

* media player migration uid

* unifi config flow

* Update homeassistant/components/epson/media_player.py

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

* Update homeassistant/components/epson/media_player.py

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

* Apply suggestions from code review

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

* review

* remove unnecessary try except

* add import test

* Apply suggestions from code review

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

* revert PORT option from config yaml

* fix tests

* remove port from config flow

* fix CONFIG_SCHEMA

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-07 23:05:59 +02:00
Erik Montnemery ba284c0d27
Add sensor state_class property (#50063)
* Add sensor state_class property

* STATE_CLASS_LATEST -> STATE_CLASS_MEASUREMENT

* Export sensor.state_class in capability_attributes

* Add STATE_CLASS_UNKNOWN

* Fix typing

* Update tests

* STATE_CLASS_UNKNOWN -> STATE_CLASS_OTHER

* Update homeassistant/components/sensor/__init__.py

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

* Remove STATE_CLASS_OTHER

* Update tests

* Revert test changes

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-07 23:04:00 +02:00
Simone Chemelli cf96d86985
Add yaml key to Shelly to allow CoAP port customization (#48729)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-07 13:23:29 -07:00
jan iversen 552ca1c57b
Fix modbus switch problems (#50117) 2021-05-07 22:12:13 +02:00
Erik Montnemery 934d241b70
Improve Google Cast options flow (#50028) 2021-05-07 12:59:51 -07:00
J. Nick Koston 3a36a976ee
Small cleanups to rainmachine get_client_controller (#50250) 2021-05-07 13:07:06 -05:00
Erik Montnemery 80b05c39cc
Fix light turn_on color conversion (#50251) 2021-05-07 17:08:46 +02:00
Maciej Bieniek 6df0190aeb
Improve type annotations for Airly integration (#49898) 2021-05-07 09:47:52 -05:00
Simone Chemelli 4d0955bae1
Add Fritz sensors (#50055)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-07 09:05:16 -05:00
Maciej Bieniek 0587f834df
Add Nettigo Air Monitor integration (#49099) 2021-05-07 08:59:29 -05:00
epenet dc29087416
Deprecate onewire YAML configuration (#50151) 2021-05-07 15:46:23 +02:00
Aaron Bach d4601e00fd
Remove simplisafe websocket (#50213) 2021-05-07 15:41:37 +02:00
Tobias Sauerwein 86393bdbba
Fix Netatmo climate (#50238) 2021-05-07 15:10:46 +02:00
Felipe Martins Diel a7ef3ec947
Fix RM pro temperature sensor (#50098) 2021-05-07 14:47:51 +02:00
David F. Mulcahey 55050bdd2a
support more alarm panels (#50235) 2021-05-07 08:31:16 -04:00
Paulus Schoutsen 17fc962a87
Bump aiohue to 2.3.0 (#50217)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-07 14:24:47 +02:00
epenet 5d5122c2a4
Fix unique_id issue on onewire config entries (#50161) 2021-05-07 14:21:03 +02:00
Martin Hjelmare 0c288bcabb
Fix mysensors default persistence file on import (#48410) 2021-05-07 13:37:38 +02:00
Jan Bouwhuis 7ab505633d
Ignore empty output from MQTT fan's value template (#50122)
* Allow empty payload

* Add tests for ignoring empty payload

* logging on empty state and osccilation with tests

* Improve warning log when invalid value is received
2021-05-07 13:22:08 +02:00
Maciej Bieniek 7a87846146
Bump `gios` library (#50145)
* Bump gios library

* Use consts for API strings

* Do not store data locally

* Use API_TIMEOUT const
2021-05-07 13:03:11 +02:00
J. Nick Koston 64851dbac3
Add optimistic closing/opening to gogogate2 (#42048)
* Add optimistic closing/opening to gogogate2

* package rename

* update test

* Update homeassistant/components/gogogate2/cover.py
2021-05-07 11:13:51 +02:00
Erik Montnemery c2663d61d7
Add color_mode support to group light (#50165)
* Add color_mode support to group light

* Lint

* Update tests
2021-05-06 22:34:51 -07:00
Fabian Affolter 47c4c681f4
Upgrade sendgrid to 6.7.0 (#50194) 2021-05-07 07:29:55 +02:00
Sezer K 316f6ba397
Only initialize Nuki configurations (#49747)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-06 22:29:37 -07:00
Fabian Affolter 93628554cb
Upgrade slixmpp to 1.7.1 (#50192) 2021-05-07 07:28:58 +02:00
Fabian Affolter 084f139a4d
Upgrade praw to 7.2.0 (#50197) 2021-05-07 07:26:21 +02:00
Fabian Affolter 1c4a44dc5c
Upgrade discord.py to 1.7.2 (#50201) 2021-05-07 07:24:54 +02:00
Raman Gupta 9f1b1c6c56
Add value map for Climacell V3 pollen sensors (#50200) 2021-05-06 21:12:51 -07:00
J. Nick Koston 7b07bc2d65
Bump netdisco to 2.8.3 for compat with latest zeroconf (#50212) 2021-05-06 22:26:03 -05:00
Oliver 0cf07ee2d8
Denonavr bugfixes (#49984) 2021-05-06 22:23:46 -05:00
Aaron Bach fec02c88af
Allow SimpliSafe startup to retry on failure (#50211)
* Allow SimpliSafe startup to retry on failure

* Update __init__.py

* Black

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-06 20:03:35 -06:00
Martin Hjelmare 5ec09eab42
Move not loaded websocket constant to zwave_js (#50188) 2021-05-06 17:59:03 -07:00
J. Nick Koston 89811fcbaa
Ensure tesla setup is retried on timeout (#50202) 2021-05-06 17:58:44 -07:00
HomeAssistant Azure 623a9c99fe [ci skip] Translation update 2021-05-07 00:04:03 +00:00
Fabian Affolter 0bfc386be3
Upgrade TwitterAPI to 2.7.3 (#50195) 2021-05-06 19:23:11 -04:00
Tobias Sauerwein 33e044431e
Bump PyRMVtransport to 0.2.3 (#50183) 2021-05-06 23:34:50 +02:00
J. Nick Koston ce692afead
Add rainmachine discovery (#49970)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2021-05-06 09:50:28 -05:00
Martin Hjelmare 38d7652176
Fix zwave_js websocket api KeyError on unloaded entry (#50154) 2021-05-06 16:43:14 +02:00
Franck Nijhof 465161b38c
Deprecate Canary YAML configuration (#50078) 2021-05-05 22:04:32 -07:00
Franck Nijhof e3e9239798
Strictly type Twente Milieu integration (#50062) 2021-05-05 22:04:09 -07:00
J. Nick Koston af832e5434
Use shared httpx client in gogogate2 (#45575) 2021-05-05 21:47:44 -07:00
Erik Montnemery 7dec23d58b
Improve translation strings for MQTT config and option flows (#50018)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-05-05 21:25:28 -07:00
tkdrob d6c300aeb1
Fix group selector (#50088) 2021-05-05 20:15:21 -07:00
J. Nick Koston 60b90c4546
Bump zeroconf to 0.30.0 to fix thread safety race (#50130) 2021-05-05 20:11:06 -07:00
J. Nick Koston 906de23087
Bump sqlalchemy to 1.4.13 (#50138) 2021-05-05 20:08:48 -07:00
Teemu R 0ed31b0ba7
Bump python-miio dependency (#50129) 2021-05-05 17:19:52 -07:00
HomeAssistant Azure 7dad5e8a4c [ci skip] Translation update 2021-05-06 00:03:11 +00:00
Franck Nijhof ae692a003f
Add support for Elgato Light Strip (#49988)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-05-05 16:41:32 -07:00
Aidan Timson e4ef06d6b1
System Bridge Integration (#48156)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-06 01:33:32 +02:00
epenet 5dd59415a8
Drop OWFS support in onewire (#50121) 2021-05-05 21:14:20 +02:00