1
0
mirror of https://github.com/elisspace/core.git synced 2026-09-03 06:26:06 +00:00
Commit Graph

59569 Commits

Author SHA1 Message Date
J. Nick Koston
e1b6385b4d Add support for doorbell buttons to homekit_controller (#50983) 2021-05-23 08:56:16 -05:00
jjlawren
29205a9239 Sonos use common firmware version (#50861) 2021-05-23 08:43:49 -05:00
Ruslan Sayfutdinov
44bbd9396d Fix typing in config flow helper (#50994) 2021-05-23 14:08:21 +02:00
Daniel Hjelseth Høyer
9b02fd86c5 Update mill library, fix consumption data (#50992)
Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-05-23 13:11:48 +02:00
Eugenio Panadero
ecb24f01a3 Bump aiopvpc from 2.0.2 to 2.1.1 (#50989)
* Remove pytz dependency and handle timezones with zoneinfo, and adapt to use input timezone as a time zone object or a string identifier
* Fix prices being badly assigned in Canary Islands timezone
* Fix sensor attributes in month changes
2021-05-23 12:48:33 +02:00
Matthias Alphart
5ca5b9ac89 Improve KNX config validation (#50980)
* remove dict repacking

* check binary_sensor device_class

* check cover device_class

* check sensor_type
2021-05-23 10:42:17 +02:00
Malte Franken
3141535d69 Bump geojson_client to 0.6 (#50985)
* bump geojson_client library to version 0.6

* add myself as codeowner
2021-05-23 08:55:02 +02:00
J. Nick Koston
e4c77fd336 Bump aiohomekit to 0.2.62 (#50981)
- Discovery is now instant when a ServiceBrowser is running

Changelog: https://github.com/Jc2k/aiohomekit/compare/0.2.61...0.2.62
2021-05-22 22:22:56 -07:00
Joakim Sørensen
7ff14b47a8 Use whoami for location lookup (#50934) 2021-05-22 20:34:48 -07:00
Franck Nijhof
0cbcb9e0d6 Fix Hue overriding property methods, remove ignored typing (#50976) 2021-05-22 20:32:41 -07:00
Marcin Ciupak
caad125b44 Add support for Oracle DB in recorder (#50090) 2021-05-22 21:10:27 -05:00
GitHub Action
460092ec9a [ci skip] Translation update 2021-05-23 00:13:25 +00:00
Shay Levy
c7ada1e8f6 Fix flaky Shelly config flow test (#50982) 2021-05-23 02:11:02 +03:00
J. Nick Koston
45897b59f2 Turn on samsungtv with wakeonlan (#50964)
If we have the mac address from discovery, we can use it to wake
the TV.  Currently the TV goes unavailable when you turn it off
as the only way to turn it back on is wake on lan or via the remote.

Users who are not using host networking can use a script instead.
2021-05-22 15:33:37 -05:00
Franck Nijhof
f4289b3fca Improve supported_color_modes typing in Light (#50969) 2021-05-22 18:48:58 +01:00
Franck Nijhof
4948bec8d5 Fix is_on attr not being used in binary sensor (#50968) 2021-05-22 19:45:05 +02:00
victorclaessen
a03ee1e528 Fix Volvo On Call lock state (#50832)
* Fix Volvo On Call: Locked shows as Unlocked #43260 and #49224

* Update binary_sensor.py

Black changed 'Door lock' to "Door lock" (double quotes)

* Update homeassistant/components/volvooncall/binary_sensor.py

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

* Update binary_sensor.py

Amend code to pass pylint test

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-22 19:33:02 +02:00
Lén
99e58f3c18 Fix coinbase response pagination (#50890)
* Fix issue #50500

* next is a python keyword
2021-05-22 19:31:49 +02:00
Matej Plavevski
b9086b5e39 Fix Documentation leading to a 404 Page (#50962) 2021-05-22 19:31:00 +02:00
Franck Nijhof
3c8707f912 Fix tcp typing, fixing CI (#50965) 2021-05-22 19:16:11 +02:00
Franck Nijhof
e64b5afa58 Typing improvements for Sentry (#50787)
* Typing improvements for Sentry

* Fix event tags access

* Fix tests
2021-05-22 19:09:19 +02:00
Franck Nijhof
cad4ec867b Define light entity attributes as class variables (#50941) 2021-05-22 09:21:31 -07:00
Franck Nijhof
d3bc2bc47f Define binary_sensor entity attribute as class variables (#50940) 2021-05-22 09:20:34 -07:00
Franck Nijhof
f7bc456bd2 Define sensor entity attributes as class variables (#50942) 2021-05-22 18:17:35 +02:00
Franck Nijhof
38d095aa18 Define entity attributes as entity class variables (#50925)
* Define entity attributes as entity class variables

* Example coronavirus integration

* Example verisure

* Cleanup/typing fixes

* Fix Coronavirus

* Revert "Fix Coronavirus"

This reverts commit 060843860fe300f8448d0d2476de8963d5ddf5a2.

* Revert "Cleanup/typing fixes"

This reverts commit 659b79e75a97007f7181064e446c3e988c2d54bb.

* Define entity attributes as entity class variables (attr alternative)

* Example coronavirus

* Example nut

* Example verisure

* Mark private

* Cleanup after all reverting/cherrypicking/merging

* Implement all entity properties

* Update coronavirus example

* Update nut example

* Update verisure example

* Lets not talk about this one...

* Fix multiple class attribute
2021-05-22 09:13:50 -07:00
Simone Chemelli
b9a0fb93eb Add samsungtv dhcp and zeroconf discovery (#48022)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-05-22 10:41:18 -05:00
PeteBa
aa9b99713c Add purge_entities service call to recorder (#48069) 2021-05-22 10:30:05 -05:00
carstenschroeder
9f04c7ea23 Add Openweathermap cloud coverage forecast (#50961) 2021-05-22 16:54:47 +02:00
Michael
4a64f7a696 Add strict type annotations to tcp (#50877)
* add strict type annotations

* apply suggestions

* rename to TCP_PLATFORM_SCHEMA

* Replace DiscoveryInfoType
2021-05-22 15:45:18 +01:00
Franck Nijhof
560dd0a0cc Typing improvements for TPLink (#50947)
* Typing improvements for TPLink

* Update homeassistant/components/tplink/common.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-22 13:47:26 +01:00
Maciej Bieniek
afb372a680 Add Final type for constants in sensor component (#50955) 2021-05-22 13:00:53 +01:00
jan iversen
59ae78e5f0 Add restore_state to modbus binary_sensor (#50922)
* Add restore_state to binary_sensor.

* Update return value in State.
2021-05-22 13:38:05 +02:00
Ruslan Sayfutdinov
016abda12e Pylint plugin to check that relative imports are used (#50937)
* Pylint plugin to check that relative imports are used

* Fix existing sites

* Update description message

* Fix typo
2021-05-22 09:15:30 +01:00
Ruslan Sayfutdinov
b704f0e729 Add strict typing to device_tracker (#50930)
* Add strict typing to device_tracker

* Update homeassistant/components/device_tracker/legacy.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-05-22 09:15:15 +01:00
Michael
2e316f6fd5 Add strict type annotations to canary (#50943)
* Add strict type annotations

* Add missing futur import

* Apply suggestions

* Apply suggestions
2021-05-22 09:14:59 +01:00
Erik Montnemery
15e2c6d7dc Fix typing for dt_util as_timestamp (#50886)
* Fix typing for dt_util::as_timestamp

* Apply suggestions from code review
2021-05-22 09:34:49 +02:00
Raman Gupta
92d1871de5 Fix flaky vizio test and add comments to explain logic (#50948) 2021-05-22 08:57:30 +02:00
GitHub Action
78be237447 [ci skip] Translation update 2021-05-22 00:12:02 +00:00
Milan Meulemans
5491040693 Fix missing link in scaffold comment (#50936) 2021-05-21 21:21:26 +02:00
Bram Kragten
752a4b9d2c Fix version bump script (#50932) 2021-05-21 19:31:04 +02:00
Ruslan Sayfutdinov
42ff687c32 Add missing type hints to websocket_api (#50915) 2021-05-21 09:39:18 -07:00
Erik Montnemery
dc65f279a7 Add support for state_class to MQTT sensor (#50927) 2021-05-21 17:37:26 +02:00
Shay Levy
6e087039f4 Add min/max/step to MQTT number (#50869) 2021-05-21 18:35:27 +03:00
Michael
8c5c8ed153 Add strict type annotations to fitbit (#50740)
* add strict type annotations

* cast json_load()

* apply suggestions

* move SCAN_INTERVAL back to platform file

* apply suggestion

* apply suggestion

* apply suggestions

* rename to PARENT_PLATFORM_SCHEMA
2021-05-21 13:33:54 +01:00
Martin Hjelmare
b4bb7c38ce Fix zwave_js api typing (#50923) 2021-05-21 14:20:58 +02:00
Martin Hjelmare
07e2f53b37 Add zwave_js add-on info dataclass (#50776) 2021-05-21 13:47:37 +02:00
Erik Montnemery
0c40f37336 Set device_class and state_class for utility_meter (#50921)
* Set device_class and state_class for utility_meter

* Update test

* Tweak tests according to review comments
2021-05-21 13:23:20 +02:00
Ruslan Sayfutdinov
00208ff0d8 Use type safe import for device_tracker.PLATFORM_SCHEMA (#50860) 2021-05-21 13:08:40 +02:00
Erik Montnemery
73d7a754e8 Mark temperature sensors as STATE_CLASS_MEASUREMENT (#50889)
* Mark temperature sensors as STATE_CLASS_MEASUREMENT

* Fix broadlink tests

* Tweak Hue changes
2021-05-21 11:44:34 +02:00
Erik Montnemery
6f26687aa7 Compile statistics for battery, humidity and pressure sensors (#50920) 2021-05-21 10:48:11 +02:00