Commit graph

39808 commits

Author SHA1 Message Date
Robert Svensson
f224ab6d67
Use isinstance to verify class in deCONZ integration ()
* Don't enable any variants of the daylight sensor entities by default

* Use isinstance rather than doing ZHATYPE compare

* Accidentally removed an import
2021-09-29 21:19:21 +02:00
Maciej Bieniek
0463007050
Add switch platform to Tractive integration () 2021-09-29 21:06:11 +02:00
J. Nick Koston
23cbd9075a
Wait for yeelight internal state to change before update after on/off () 2021-09-29 13:49:33 -05:00
Franck Nijhof
25ce7f951a
Merge branch 'master' into dev 2021-09-29 20:47:34 +02:00
Erik Montnemery
a966714032
Minor cleanup of recorder statistics code () 2021-09-29 11:42:39 -07:00
jjlawren
8f4ba564d4
Plex media browser improvements () 2021-09-29 11:17:55 -07:00
Erik Montnemery
ef13e473cf
Warn if template functions fail and no default is specified ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-29 20:16:02 +02:00
Aaron Bach
ae00c221e0
Add long-term statistics for Guardian sensors ()
* Add long-term statistics for Guardian sensors

* Code review
2021-09-29 12:06:48 -06:00
J. Nick Koston
f7ef973c68
Bump aiodiscover to 1.4.4 to fix mac matching with leading 0s () 2021-09-29 13:18:13 -04:00
Alexei Chetroi
dbba2c4afe
Add "Summation Delivered" Sensor for SmartEnergy metering ZHA channel () 2021-09-29 09:35:20 -07:00
Daniel Hjelseth Høyer
60eb426451
Add Surepetcare locks ()
* Surepetcare, add lock

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Fix tests

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Surepetcare, lock name

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* surepetcare_id

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* typing

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Fix review comment

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Fix review comment

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Fix review comment

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* add more tests

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>

* Fix review comment

Signed-off-by: Daniel Hjelseth Høyer <github@dahoiv.net>
2021-09-29 09:17:12 -07:00
Martin Hjelmare
50fffe48f8
Add zwave to zwave_js migration ()
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2021-09-29 08:55:27 -07:00
Daniel Hjelseth Høyer
d5c3d234ec
Open garage, add config flow () 2021-09-29 09:43:51 -06:00
Erik Montnemery
40ecf22bac
Remove automatic splitting of net meters from statistics () 2021-09-29 17:20:17 +02:00
Andre Richter
d13c3e3917
Migrate Vallox to new fan entity model ()
* Migrate Vallox to new fan entity model

* Review comments 1

* Minor corrections

* Review comments 2
2021-09-29 17:14:41 +02:00
Erik Montnemery
00651a4055
Optimize _get_states_with_session ()
* Optimize _get_states_with_session

* Move custom filters to derived table

* Remove useless derived table

* Filter old states after grouping

* Split query

* Add comments

* Simplify state update period criteria

* Only apply custom filters if we didn't get an include list of entities

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-29 17:08:27 +02:00
avee87
daebc34f4d
Add code_format to template alarm ()
* Added code_format to template alarm

* review comment

* review comment

* use constant

* back to enum

* none -> no_code
2021-09-29 16:59:46 +02:00
Marc Mueller
77ee72cbb9
Import Callable from collections.abc (1) () 2021-09-29 16:32:11 +02:00
Marc Mueller
d51487f82a
Import Callable from collections.abc (3) () 2021-09-29 16:19:06 +02:00
Marc Mueller
364767ff22
Import Callable from collections.abc (4) () 2021-09-29 16:15:36 +02:00
jan iversen
19685ecff0
Set strict typing for modbus. () 2021-09-29 16:15:55 +03:00
Marc Mueller
565a9fea6b
Import Callable from collections.abc (2) () 2021-09-29 14:06:51 +02:00
Franck Nijhof
41e5f05d99
Fix energy validation when not tracking costs () 2021-09-29 13:24:34 +02:00
Maciej Bieniek
d3df6f26f9
Add missing voltage sensor in Shelly integration ()
* Disable voltage sensor by default

* Add voltage sensor for Shelly 2/2.5

* Enable emeter voltage by default
2021-09-29 14:22:42 +03:00
Erik Montnemery
52e9f76f94
Tweak DB migration to schema version 21 () 2021-09-29 11:25:50 +02:00
Fabian Affolter
be34a2ddea
Upgrade beautifulsoup4 to 4.10.0 () 2021-09-29 11:25:29 +02:00
Fabian Affolter
deb0cc4116
Upgrade holidays to 0.11.3 () 2021-09-29 11:25:06 +02:00
Joakim Sørensen
6a9b484f2d
Remove timeout for backup services () 2021-09-29 09:46:05 +02:00
Regev Brody
115bb39c10
Fix cover group to handle unknown state properly ()
* fix cover group unknown state

* fix cover grup state

* fix cover group issue
2021-09-29 08:37:16 +02:00
Simone Chemelli
34ef47db55
Fritz honor sys option pref_disable_new_entities () 2021-09-28 20:59:03 -07:00
João Pedro Hickmann
4513a46248
Add zeroconf support for yeelight () 2021-09-28 20:53:43 -05:00
Myles Eftos
8e91e6e97e
Adding price spike binary sensor to the Amber electric integration () 2021-09-28 18:01:35 -07:00
J. Nick Koston
cf36d0966d
Add coverage to verify tplink unique ids () 2021-09-28 17:57:22 -07:00
Michael Chisholm
f7d95588f8
Provide most media metadata in DlnaDmrEntity ()
Co-authored-by: Steven Looman <steven.looman@gmail.com>
2021-09-28 19:37:23 -05:00
Marc Mueller
718f8d8bf7
Use NamedTuple for xbox media type details () 2021-09-28 17:00:19 -07:00
Marc Mueller
15aafc8db6
Use NamedTuple for discovery service details () 2021-09-28 16:59:40 -07:00
Marc Mueller
a91fbec198
Use NamedTuple for esphome service metadata () 2021-09-28 16:58:36 -07:00
Marc Mueller
160571888c
Use NamedTuple for intesishome swing settings () 2021-09-28 16:56:58 -07:00
Raman Gupta
e76ddb4b27
Add proper S2 support for adding zwave_js nodes ()
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-09-28 15:37:45 -07:00
Milan Meulemans
db30c27455
Clean up Nanoleaf () 2021-09-28 15:39:54 -05:00
J. Nick Koston
bc59387437
Explictly close the TPLink SmartDevice protocol on unload ()
* Explictly close the TPLink SmartDevice protocol on unload

- There is a destructor that will eventually do this when
  the object gets gc. Its better to explictly do it at
  unload.

* fix coro mock
2021-09-28 18:36:45 +02:00
J. Nick Koston
c95f7a5ba6
Add network support to tplink for discovery across subnets () 2021-09-28 09:58:25 -05:00
Maciej Bieniek
0044fa9fb9
Add support for pedestal MIOT fans to Xiaomi Miio integration ()
* Add initial support for Xiaomi Fan ZA5

* Add sensor, number and switch platform

* Addionizer switch

* Improve ionizer icon

* Fix parent of XiaomiFanMiot class

* Add another MIOT models

* Fix consts

* Add powersupply attached binary sensor

* Simplify async_create_miio_device_and_coordinator

* Simplify XiaomiGenericFan

* Fix XiaomiFanZA5 parent

* Remove pass

* Remove unused _available variable

* 1C doesn't support direction

* Suggested change

* Use elif

* Clean up oscillation angle

* Fix typo
2021-09-28 10:21:14 +02:00
Joakim Sørensen
b179301152
Adjust lock configuration () 2021-09-28 10:15:45 +02:00
Adrian Huber
b64b926e13
Add raid monitoring to glances () 2021-09-28 10:04:08 +02:00
gjong
495e5cb1c0
Update YouLess library for support for PVOutput firmware () 2021-09-28 09:59:40 +02:00
Maciej Bieniek
2581a3a735
Add binary sensor platform to Tractive integration ()
* Add binary sensor platform

* Update .coveragerc file

* Create battery charging sensor only if tracker supports it

* Improve async_setup_entry

* Add TRAXL1 model
2021-09-28 09:56:06 +02:00
jjlawren
0d6aa89fd4
Refactor Sonos alarms and favorites updating () 2021-09-28 09:49:32 +02:00
Diogo Gomes
922d4c42a3
Inherit Filter sensor state_class from source sensor () 2021-09-28 09:30:21 +02:00
Regev Brody
9d89e1ae00
Bump WazeRouteCalculator to 0.13 () 2021-09-28 09:25:34 +02:00