Commit graph

47196 commits

Author SHA1 Message Date
Franck Nijhof
7174e7897c
Update mypy to 0.941 (#68305) 2022-03-18 16:22:32 +01:00
J. Nick Koston
9864090e0b
Cache parsing attr in LazyState (#68232) 2022-03-18 07:44:37 -07:00
Allen Porter
41a032e3e3
Add diagnostics to stream's Stream objects (#68020)
* Add diagnostics to stream's Stream objects

Add diagnostics key/value pair to the Stream object. Diagnostics support
in camera integration will be added in a follow up and will access the
diagnostics on the Stream object, similar to the examples in the unit
test.

* Rename to audio/video codec

* Fix test codec names

* Update tests/components/stream/test_worker.py

Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: uvjustin <46082645+uvjustin@users.noreply.github.com>
2022-03-18 07:40:09 -07:00
Franck Nijhof
2686be921c
Remove deprecated (old) Z-Wave integration (#67221)
* Remove deprecated (old) Z-Wave integration

* Mark migration tests as skip, for later cleanup
2022-03-18 13:09:10 +01:00
Simone Chemelli
35261a9089
Add switch platform to UptimeRobot (#65394)
* Add switch platfor mto UptimeRobot

* Add tests

* Apply review comment

* review comments part 2

* review comments part 3

* Fix tests after swapping logic on/off

* Fix reauth test

* Check for read-only key

* Fix reauth for switch platform

* mypy

* cleanup

* cleanup part 2

* Fixes + review comments

* Tests

* Apply more review comments

* Required changes

* fix test

* Remove if

* 100% tests coverage

* Check readonly key in config_flow

* Fix strings & translation

* Add guard for 'monitor' keys

* allign tests

* Wrong API key message reworded
2022-03-18 12:18:19 +01:00
Erik Montnemery
5bb271c9fb
Add config flow for derivative sensor (#68268) 2022-03-18 12:14:38 +01:00
J. Nick Koston
b284eddc63
Fix statistics doing I/O in the event loop (#68315) 2022-03-18 00:49:11 -10:00
J. Nick Koston
9215702388
Separate attrs into another table (reduces database size) (#68224) 2022-03-18 00:23:13 -10:00
Erik Montnemery
d7145095ef
Tweak selectors (#68267)
* Optionally don't convert output of duration and time selectors

* Allow number selector selection to be None

* Never convert output of duration and time selectors

* Revert "Allow number selector selection to be None"

This reverts commit b6f52c1e83.
2022-03-18 10:26:05 +01:00
Erik Montnemery
2fcced333d
Add config flow for sun (#68295)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-18 10:12:15 +01:00
J. Nick Koston
bc862e97ed
Use a dedicated executor pool for database operations (#68105)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-03-17 23:09:01 -10:00
Erik Montnemery
0655ebbd84
Add config flow for integration sensor (#68288) 2022-03-18 09:52:17 +01:00
Paulus Schoutsen
ad1e43e083
Add support for variables on trigger (#68275) 2022-03-18 09:25:22 +01:00
Marc Mueller
ad84a02b8e
Add zha typing [api] (1) (#68220) 2022-03-18 09:23:52 +01:00
jjlawren
7b38f81040
Bump plexapi to 4.10.1 (#68313) 2022-03-17 22:36:58 -07:00
J. Nick Koston
95f20500ca
Commit any pending changes before running non-EventTasks in the recorder (#68287) 2022-03-17 21:33:22 -07:00
Dave T
490c921763
Don't access hass.data directly in generic camera test. (#68316) 2022-03-17 14:29:21 -10:00
Zack Barett
712c9d4a4f
Bump frontend to 20220317.0 (#68314) 2022-03-17 16:12:31 -07:00
Steven Looman
f006cffac6
Bump async-upnp-client to 0.27.0 (#68310) 2022-03-17 12:32:46 -10:00
jjlawren
b34da1294c
Improve Plex media search failure feedback (#67493) 2022-03-17 13:57:22 -07:00
jjlawren
f75d621888
Normalize enqueuing Plex media on Sonos (#68132) 2022-03-17 13:52:59 -07:00
Malte Franken
a8dae97917
Migrate geo_json_events to async library (#68236)
* use async integration library

* migrating to async library

* migrating tests to async library

* renamed method and fixed comment

* removed callback annotation

* use async dispatcher
2022-03-17 20:40:43 +01:00
epenet
0adc7042dc
Make new_token_callback more generic in SamsungTV (#67990)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-17 09:24:00 -10:00
Avi Miller
9ea73e0d90
Skip unsupported LIFX Switches during discovery (#67726)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-17 19:13:08 +01:00
Marc Mueller
8f69d31322
Make TypeVars private (3) (#68207) 2022-03-17 19:11:14 +01:00
Marc Mueller
eae0c75620
Make TypeVars private (2) (#68206) 2022-03-17 19:09:55 +01:00
Marc Mueller
be7ef6115c
Make TypeVars private (1) (#68205) 2022-03-17 18:52:38 +01:00
gigatexel
a9c383a1e5
Correct naming for electrical energy meter (#68290) 2022-03-17 18:50:18 +01:00
Erik Montnemery
ead5b3e2c0
Improve strings for helper flow scaffold (#68257) 2022-03-17 13:14:38 +01:00
Marc Mueller
81d001bcdc
Remove duplicate (partial) pytest job (#68221) 2022-03-17 12:57:36 +01:00
Joakim Plate
6069d26800
Rename root media folder to integration name (#68213) 2022-03-17 11:13:46 +01:00
Joakim Plate
4e21757b75
Rename root node to integration name (#68214) 2022-03-17 11:13:03 +01:00
Myles Eftos
38d8332e92
Add amberelectric price descriptors (#67981)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-03-17 10:15:47 +01:00
wchan-ranelagh
fc693001a1
Change default timeout for operations in SNMP component (#68230) 2022-03-17 10:10:46 +01:00
Paulus Schoutsen
aabfa08834
Add if subscription is active to cloud status (#68266) 2022-03-17 09:51:07 +01:00
epenet
d021222d6d
Bump renault-api to 0.1.10 (#68260)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-17 09:51:03 +02:00
epenet
d6f5f0c794
Bump samsungtvws to 2.4.0 (#68225)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2022-03-16 20:44:14 -10:00
Zack Barett
3ecc914f29
20220316.0 (#68276) 2022-03-16 16:40:24 -07:00
Raman Gupta
15d9233c77
Bump PyNaCl to 1.5.0 (#68226) 2022-03-16 23:30:04 +01:00
Paulus Schoutsen
f6af93ae35
Add support for menu step (#68203) 2022-03-16 14:14:50 -07:00
d6e
aa57907c18
Improve logging for Discord integration (#68160) 2022-03-16 21:16:38 +01:00
jjlawren
d8c966fd0a
Fix Spotify podcasts & Plex allow_multiple on Sonos (#68131)
* Bump soco to 0.27.0

* Bump soco to 0.27.1
2022-03-16 17:35:31 +01:00
Hans Oischinger
2c8bf006eb
Fix precision of vicare target & current temperature (#66456) 2022-03-16 13:14:11 +01:00
Erik Montnemery
f0dba8ec70
Add scaffold for helper integration config flow (#67803) 2022-03-16 12:57:56 +01:00
Franck Nijhof
aa82f96c16
Use Platform StrEnum in Hassfest manifest plugin (#68234) 2022-03-16 11:21:51 +01:00
Álvaro Fernández Rojas
62c4fed549
Update aioairzone to v0.1.0 (#68194) 2022-03-16 10:44:06 +01:00
Paulus Schoutsen
984e30075b
Validate TTS base url (#68212)
* Validate TTS base url

* Update tests/components/tts/test_init.py

Co-authored-by: Joakim Plate <elupus@ecce.se>

Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-03-16 10:18:55 +01:00
Francois Chagnon
21aa07e3e5
Add Z-Wave thermostat fan entity (#65865)
* Add Z-Wave thermostat fan entity

* Fix failing test, increase number of entities to 27

* Add tests to improve coverage

* Take back unrelated changes to climate.py

* Clean up guard clauses, use info.primary_value, and make entity disabled by default

* Fix tests

* Add more tests for code coverage

* Remove unused const

* Remove speed parameter from overridden method since it was removed from entity

* Address PR comments
2022-03-15 22:17:51 -04:00
J. Nick Koston
4b963c2ac0
Add diagnostics support to nexia (#68215) 2022-03-15 15:55:08 -10:00
Jeef
484f723875
IntelliFire Diagnostic Error Sensor (#67403)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-03-15 12:52:19 -10:00