Commit Graph

35599 Commits

Author SHA1 Message Date
jjlawren
0cdb8ad892 Fix location of current_play_mode (#50386) 2021-05-10 14:49:11 +02:00
Ruslan Sayfutdinov
3a192896df Enable some strict mypy checks globally (#50398)
* Enable some strict mypy checks globally

* Update mypy.ini
2021-05-10 14:20:25 +02:00
Ruslan Sayfutdinov
b745d01877 Fix synology_dsm typing (#50399) 2021-05-10 13:43:43 +02:00
Ville Skyttä
b89c53f759 Type hint device registry identifiers as set of str 2-tuples (#50355)
* Type hint device registry identifiers as set of str 2-tuples

* Fix airly test

* Really fix airly test, add another migration test
2021-05-10 12:13:45 +02:00
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
Franck Nijhof
041838bdd7 Upgrade requests-mock to 1.9.2 (#50377) 2021-05-09 16:30:03 -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
Franck Nijhof
3745056751 Upgrade attrs to 21.2.0 (#50374) 2021-05-09 22:13:09 +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