Commit Graph

37773 Commits (7da2e765d12a84af9e4e2b3a67840564badf5a86)

Author SHA1 Message Date
Maciej Bieniek 74e9c050af
Add `diagnostics` platform for Airly integration (#69874)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-04-13 19:22:37 +02:00
Diogo Gomes fa28ee1f14
Remove deprecated unit configuration option from integration integration (#69157) 2022-04-13 19:19:34 +02:00
RDFurman 77efe385b7
Use honeywell keys for unique IDs (#69858) 2022-04-13 19:17:38 +02:00
Álvaro Fernández Rojas c76b21e24e
Support specifying Airzone System ID (#69751) 2022-04-13 19:12:21 +02:00
Fabian Affolter 00621617c2
Upgrade TwitterAPI to 2.7.12 (#69986) 2022-04-13 19:05:25 +02:00
Fabian Affolter 1a82121ae9
Remove myself from dweet codeowners (#69987) 2022-04-13 19:04:47 +02:00
Michael Chisholm 4e57b1b118
Fix config_flow error from dlna_dmr for UPnP discovery info containing a single service (#69977) 2022-04-13 19:04:03 +02:00
Erik J. Olson 1c2bea2dbd
Fix gif autoplaying in Matrix chat clients (#69982) 2022-04-13 19:02:38 +02:00
Maciej Bieniek 4fe5eefc98
Add `diagnostics` platform to Xiaomi Miio integration (#69985) 2022-04-13 18:59:02 +02:00
Fabian Affolter 471871df4c
Remove myself from Gitter codeowners (#69967)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-04-13 18:56:42 +02:00
Robert Hillis 52282210d8
Remove digital loggers integration (#69939) 2022-04-13 18:43:08 +02:00
Marc Mueller e407960f68
Update pylint to 2.13.5 (#69989) 2022-04-13 18:36:05 +02:00
epenet 2b69dffe57
Suppress UpnpResponseError in SamsungTV (#69984) 2022-04-13 18:20:44 +02:00
Fabian Affolter 85fc1aebfe
Remove fabaff as codeowner from NO-IP integration (#69988) 2022-04-13 17:59:32 +02:00
epenet 28ba57ed94
Add type hints to Vacuum platform (#69960) 2022-04-13 17:33:55 +02:00
Franck Nijhof 88cfc9229d
Update sentry-sdk to 1.5.9 (#69940) 2022-04-13 17:21:11 +02:00
Fabian Affolter 427f3da6fd
Remove myself from Flock codeowners (#69973) 2022-04-13 16:11:47 +02:00
Fabian Affolter 123a7f9a63
Remove myself from InfluxDB codeowners (#69964) 2022-04-13 16:09:02 +02:00
Fabian Affolter 93b714a978
Remove myself from Music Player Daemon codeowners (#69963) 2022-04-13 16:07:41 +02:00
Fabian Affolter 7a3e995030
Remove myself from Glances codeowners (#69962) 2022-04-13 16:05:14 +02:00
Fabian Affolter 7b52dc5abc
Remove myself from PVOutput codeowners (#69957) 2022-04-13 16:04:09 +02:00
Fabian Affolter ca9bbc72f3
Remove myself from Pi-hole codeowners (#69956) 2022-04-13 16:02:26 +02:00
Joakim Sørensen dc53a39b0f
Fix available property in the base supervisor entity (#69966) 2022-04-13 12:17:35 +02:00
Jeff Irion 0df30782a6
Bump androidtv to 0.0.67 (improve connect attempt logging) (#69721) 2022-04-13 09:38:07 +02:00
J. Nick Koston ad5d7a845b
Fix HomeKit Controller device class for CO Sensors (#69949) 2022-04-13 07:50:56 +02:00
Paulus Schoutsen f6a3598070
Guard against non http schemes (#69938) 2022-04-12 15:27:20 -07:00
Diogo Gomes d57863946d
Don't allow <= 0 Hz frame rates in Generic Camera (#69814) 2022-04-13 00:00:55 +02:00
rappenze 6b5062eec5
Fix fibaro light state for rgb lights and HC3 (#69884) 2022-04-12 23:58:52 +02:00
Paulus Schoutsen 9e5c1e37c0
Not all music are URLs (#69936) 2022-04-12 14:50:07 -07:00
Franck Nijhof fb92fc6a8e
Trigger on not matching to/from states (#69760) 2022-04-12 14:18:23 -07:00
Steven Looman 0d6d8a17e3
Drop upnp options flow (#69134) 2022-04-12 14:10:54 -07:00
Erik Montnemery ba07663e7d
Fix adjusting statistics in ft³ (#69913)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-12 14:08:38 -07:00
puddly 7e6605331d
Downgrade ZHA dependency zigpy-deconz from 0.15.0 to 0.14.0 (#69927) 2022-04-12 11:57:34 -07:00
Erik Montnemery eb3458a3d2
Add MutexPool for recorder tests (#69410)
* Add MutexPool for recorder tests

* Fix get_schema_version

* Update test test_last_run_was_recently_clean

* Update test test_shutdown_before_startup_finishes

* Revert comments in test_write_lock_db

* Make the MutexPool lock a class variable

* Remove stale comment

* Move MutexPool

* Tweak debug prints
2022-04-12 07:41:46 -10:00
Raj Laud f8870c6364
Handle Squeezebox media ids that are not URLs (#69696) 2022-04-12 10:08:54 -07:00
Guido Schmitz ba4c11af5a
Bump devolo-home-control-api to 0.18.1 (#69840) 2022-04-12 10:07:17 -07:00
Erik Montnemery 1645ab25a6
Use quickplay when casting splash for mediaplayer.turn_on (#69866) 2022-04-12 10:06:25 -07:00
Erik Montnemery 80ff1ecb2a
Fix adjusting 5-minute statistics (#69921) 2022-04-12 18:10:17 +02:00
Erik Montnemery a9742cc445
Drop frontend metadata from entity service schemas (#69894) 2022-04-12 18:09:06 +02:00
Franck Nijhof d1f4b7a3d9
Fix climate HVAC device condition (#69908) 2022-04-12 15:31:59 +02:00
Franck Nijhof 67b200a532
Add if/else automation/script action (#69811)
Co-authored-by: Erik <erik@montnemery.com>
2022-04-12 15:02:17 +02:00
Erik Montnemery a9d9773539
Update Meater codeowners (#69915) 2022-04-12 14:54:01 +02:00
epenet 30eb8ba9ad
Bump renault-api to 0.1.11 (#69900) 2022-04-12 12:30:41 +02:00
epenet d8d1e98d4e
Fix unique id in SamsungTV config flow (#69899)
* Fix unique id in SamsungTV config flow

* coverage

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-11 23:37:05 -10:00
Joakim Sørensen 2ebbdf45f8
Handle add-on issues (#69897) 2022-04-12 11:00:55 +02:00
David F. Mulcahey 5f37f58673
Add diagnostics support for ZHA (#69756) 2022-04-11 22:35:29 -07:00
Franck Nijhof c93c7e8eff
Replace Camera STREAM_ constants with StreamType enum (#69871) 2022-04-11 16:27:27 -07:00
Glenn Waters 75fce1f036
Update elkm1_lib to 1.3.0 (#69885) 2022-04-11 12:28:39 -10:00
Franck Nijhof 81d90b1bc7
Add stop/error script/automation action (#67340) 2022-04-11 14:22:22 -07:00
Mick Vleeshouwer af737f2be8
Fix #69694 (#69850) 2022-04-11 22:18:31 +03:00
puddly 701ed68bc4
Bump zigpy to 0.44.2 and and zha-quirks to 0.0.72 (#69879) 2022-04-11 22:11:51 +03:00
Allen Porter 2543f18e70
Fix google calendar timestamp out of range (#69863) 2022-04-11 20:02:22 +02:00
Franck Nijhof 7087020283
Allow any entity to match state condition (#69763) 2022-04-11 10:53:42 -07:00
Maciej Bieniek 85f698f873
Use `pysnmplib` instead of `pysnmp` (#69841) 2022-04-11 07:45:48 -10:00
ablack89 1b64dbec67
EmonCMS - Set device and state class for more feed units (#69872)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-04-11 19:37:53 +02:00
Mick Vleeshouwer 8c01decef7
Bump dependencies in Overkiz integration (#69855) 2022-04-11 19:27:49 +02:00
Marvin Wichmann 919a746ebc
Mark KNX as a platinum quality integration (#69711) 2022-04-11 19:00:04 +02:00
starkillerOG a00ffe9fc3
Motion blinds fix set absolute position service (#69873) 2022-04-11 18:52:16 +02:00
Franck Nijhof 27bc5e1d74
Add ColorMode enum to light platform (#69223) 2022-04-11 18:18:29 +02:00
Marvin Wichmann 3d30a757bf
Update xknx to 0.20.2 (#69853) 2022-04-11 16:51:13 +02:00
Robert Svensson 81a55703bf
Improve typing of deCONZ alarm control panel (#69680)
* Improve typing of deCONZ alarm control panel

* Fix review comments
2022-04-11 16:19:54 +02:00
Franck Nijhof 6524dd8fb7
Add support for expanding zones in templates (#69793) 2022-04-11 12:59:45 +02:00
Raman Gupta b325c112b4
Add SelectorType enum and TypedDicts for each selector's data (#68399)
* rebase off current

* rearrange

* Overload selector function

* Update/fix all selector references

* better typing?

* remove extra option

* move things around

* Switch to Sequence type to avoid ignoring mypy error

* Get rid of ...'s

* Improve typing to reduce number of ignores

* Remove all typing ignores

* Make config optional for selectors that don't need a config

* add missing unit prefixes

* Rename TypedDicts

* Update homeassistant/helpers/selector.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>

* review feedback

* remove peta from integration integration

* Fix min_max

* Revert change to selector function

* Fix logic

* Add typing for selector classes

* Update selector.py

* Fix indent

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-11 09:20:56 +02:00
Robert Svensson e996142592
Improve typing of deCONZ gateway (#69459)
* Improve typing of deCONZ gateway
* Fix review comments
2022-04-11 09:13:25 +02:00
Franck Nijhof 800bf926aa
Add attribute to zone indicating persons in zone (#69767)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-04-10 23:36:40 -07:00
J. Nick Koston 32a10648a5
Downgrade av to 8.1.0 to fix memory leak (#69833) 2022-04-10 22:58:30 -07:00
jjlawren 200ef847c9
Speed up Plex playback for multiple videos (#69821) 2022-04-10 22:29:43 -07:00
jjlawren 016f67b855
Retry on more Plex connection failures during startup (#69822) 2022-04-10 22:25:19 -07:00
ollo69 bc2ba8e1c8
Add missing type declaration to AsusWrt Scanner Entity (#69773) 2022-04-10 14:28:12 -07:00
Daniel Hjelseth Høyer 801b0b55a8
Update Tibber library (#69807) 2022-04-10 14:17:21 -07:00
Raman Gupta 9b49deea5e
Reduce API limit for tomorrow.io (#69818) 2022-04-10 14:07:28 -07:00
Franck Nijhof 287edf9ac0
Fix area name unchanged gets written (#69813) 2022-04-11 00:03:01 +03:00
Allen Porter f99b6004ea
Cleanup calendar APIs and introduce a dataclass for representing events (#68843)
* Introduce data class to hold calendar event data

* Rename CalendarEventDevice to CalendarEntity

* Apply suggestions from code review

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

* Fix docstring on google calendar api conversion function.

* Update todoist to new calendar enttiy api, tested manually

* Add back old API for a legacy compatibility layer

* Add deprecation warning for old calendar APIs

* Fix deprecation warning

* Fix merge for missing summary #69520

* Add mypy typing for newly introduced classes

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-10 12:04:07 -07:00
Michael Davie c98d120ba0
Bump slixmpp to 1.8.2 (#69794) 2022-04-10 20:57:56 +03:00
Diogo Gomes 8fe9e364e1
Update integration Riemann sum to use _attr* (#69769)
* move to _attr

* improve debug

* review comment

Co-authored-by: Shay Levy <levyshay1@gmail.com>

Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-04-10 20:09:33 +03:00
rikroe 8b2774e082
Fix converting (value, unit) tuples if value is None (#69802)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-04-10 19:40:03 +03:00
Robert Svensson 3373938cdb
Improve typing of deCONZ events (#69478) 2022-04-10 17:18:37 +02:00
Maximilian 987823ea97
Upgrade pynina to 0.1.8 (#69771) 2022-04-10 17:07:22 +03:00
Matthias Alphart b3d1574a71
Refactor KNX config flow and validate user input (#69698)
* validate config flow user input

* test flow for invalid user input

* validate multicast address blocks

* Update homeassistant/components/knx/config_flow.py

Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>

Co-authored-by: Marvin Wichmann <me@marvin-wichmann.de>
2022-04-10 15:56:45 +02:00
Michael 4853ce208f
Move constants into corresponding platforms in Synology DSM (#69752)
* move sensor related constants

* move switch related constants

* move binary sensor related constants
2022-04-10 16:45:58 +03:00
Robert Svensson e44d34018e
Improve typing of deCONZ services (#69444) 2022-04-10 15:24:28 +02:00
azrdev afd21e4084
Update python-mpd2 to 3.0.5 (#69304) 2022-04-10 14:16:23 +02:00
Malte Franken 0606f4d18f
Bump aio_georss_gdacs to 0.7 (#69743) 2022-04-10 11:36:35 +02:00
Allen Porter a063f55c82
Handle expired credentials in reauth in google calendar initialization (#69772)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 23:01:48 -07:00
Allen Porter 60681a3800
Bump rtsp-to-webrtc to 0.5.1 (#69776) 2022-04-09 22:41:18 -07:00
starkillerOG f579c6d982
Fix Netgear switch state update (#69597) 2022-04-09 22:40:48 -07:00
Christopher Bailey ad29d89484
Fix unifiprotect for 2.0.0-beta2 of UniFi Protect (#69762) 2022-04-09 11:34:48 -10:00
Mike Fugate 836b051be9
Fix SleepIQ firmness number step and min values (#69757)
* fix sleepiq firmness number step and min values

* add asserts for min/max/step attributes
2022-04-09 22:46:58 +03:00
J. Nick Koston fe6a4bfb1d
Remove EVENT_TIME_CHANGED and EVENT_TIMER_OUT_OF_SYNC (#69643)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-09 09:05:54 -10:00
J. Nick Koston 689b347904
Increase tplink effects random seed allowed range to 1-600 (#69725)
* Increase tplink effects random seed allowed range to 1-600

Reported https://community.home-assistant.io/t/tp-link-integration-support-for-kl430-led-light-strip/190635/62?u=bdraco

* cover
2022-04-09 10:08:17 +03:00
Dave T 6d17f4ffff
Support webp still image format in generic camera (#69718) 2022-04-08 23:06:34 -07:00
epenet 071ef6c74f
Fix upnp subscription in SamsungTV (#69652)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-08 23:05:00 -07:00
KNXBroker 632d75e009
Fix soundtouch service calls (#69655) 2022-04-08 23:04:11 -07:00
Dave T 6fd041b290
Don't test config on yaml import for generic camera (#69714) 2022-04-08 22:59:54 -07:00
Shay Levy 06e4c2f351
Fix Shelly gen2 cover unavailable when not calibrated (#69671) 2022-04-08 22:54:42 -07:00
Allen Porter 06d2aeec6b
Refresh google calendar tokens with invalid expiration times (#69679)
* Refresh google calendar tokens with invalid expiration times

* Update tests/components/google/conftest.py

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

* Remove unnecessary async methods in functions being touched already

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-08 20:27:58 -07:00
Marvin Wichmann b5b514b62f
Full test coverage for KNX integration (#69697)
* Full test coverage for KNX integration

* Allow for 0 values, since we all live at those kind of areas in the world

* Remove unneeded method

* Add missing test for climate mode

* Cleanup test and remove fixture that was used only once
2022-04-09 00:33:50 +02:00
MatthewFlamm d060d57a87
bump pynws (#69634) 2022-04-08 23:28:03 +03:00
Francois Chagnon c70c9ac341
Add None guard for zwave_js humidifier entity (#69667)
* Add None guard for humidifier entity is_on

* Add guards in more places

* Update homeassistant/components/zwave_js/humidifier.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-08 17:27:06 +02:00
epenet 2ad096733a
Suppress Upnp parsing errors in SamsungTV (#69664) 2022-04-08 16:36:43 +03:00
J. Nick Koston 5076437413
Reduce indent in recorder event processing (#69659) 2022-04-07 23:37:20 -10:00
J. Nick Koston 72fffde77a
Fix spelling of periodic in recorder (#69658)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-07 23:37:02 -10:00
epenet 89dd199ac2
Use SirenEntityFeature enum in mqtt (#69647) 2022-04-08 10:37:12 +02:00
epenet 9eba1425e0
Use SirenEntityFeature enum in demo (#69649) 2022-04-08 09:30:15 +02:00
epenet af57f9c6a4
Use SirenEntityFeature enum in components (#69645) 2022-04-08 09:13:12 +02:00
Allen Porter 1cce0a5744
Fix bugs calendar oauth token date handling (#69641) 2022-04-07 21:53:30 -07:00
J. Nick Koston 66f0a3816a
Reduce memory pressure during database migration (#69628) 2022-04-07 18:29:31 -10:00
Matt Zimmerman 8c00fde27d
[powerwall] Skip backup reserve sensor if data is unavailable (#69637) 2022-04-07 20:34:00 -07:00
David F. Mulcahey 261e12e881
Fix Samjin Multi acceleration in ZHA (#69636) 2022-04-07 20:53:12 -04:00
David F. Mulcahey 2ae3372128
Bump ZHA quirks to 0.0.71 (#69633) 2022-04-07 17:16:36 -07:00
Erik Montnemery 949b0e1b65
Don't allow in-memory SQLite database (#69616) 2022-04-08 00:43:09 +02:00
puddly fab1f29a29
Move new `zha_event` command parameters into a `params` key to ensure backwards compatibility (#69631) 2022-04-07 15:33:14 -07:00
north3221 ad946cf9d2
Fix tado default overlay for when set pre new overlay feature (#69584) 2022-04-07 15:23:07 -07:00
puddly 74bec58bfa
Fix ZHA group creation (#69629) 2022-04-07 15:02:14 -07:00
Dave T be8e28503c
Generic fix stream thumbnail (#69378) 2022-04-07 15:01:29 -07:00
Álvaro Fernández Rojas 7519436f60
Update aioairzone to v0.3.3 (#69615) 2022-04-08 00:00:29 +02:00
Diogo Gomes a3cfb6d4ae
Fix utility_meter reset service (#69612) 2022-04-07 23:55:34 +02:00
Erik Montnemery f4fb29200c
Allow empty config in discovery.async_load_platform (#69619) 2022-04-07 23:24:47 +02:00
J. Nick Koston 6dc72ebf6c
Mark backgrounds optional for tplink random effects (#69622) 2022-04-07 23:19:17 +02:00
epenet a61ac3ddc6
Add EntityFeature enum to Siren (#69585)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-04-07 23:08:09 +02:00
Matt Zimmerman 340dd3ab82
Bump smarttub to 0.0.31 (#69599) 2022-04-07 23:07:33 +02:00
Patrik Lindgren 74021d62da
Finalize deprecation of groups in Tradfri integration (#69460)
* Finalise cleanup of groups

* Fix tests

* Remove

* Revert change
2022-04-07 22:19:12 +02:00
epenet c583df74e4
Use EntityFeature enums in template (#69583) 2022-04-07 20:08:57 +02:00
epenet c8e06e2456
Use EntityFeature enums in lutron_caseta (#69588) 2022-04-07 18:05:59 +02:00
Jason Hunter 62b6d03321
Log which device has the time discrepancy (#69595) 2022-04-07 18:04:09 +02:00
epenet d56f6f39c1
Use EntityFeature enums in mobile_app (#69592) 2022-04-07 18:01:19 +02:00
epenet 10ed9cfdf2
Use EntityFeature enums in overkiz (#69587) 2022-04-07 18:00:24 +02:00
epenet 04dab04ee7
Use EntityFeature enums in nest (#69590) 2022-04-07 07:52:18 -07:00
epenet 4a0e00d939
Use EntityFeature enum in components (k**) (#69411)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-04-07 15:31:54 +02:00
epenet 2e7c65495b
Use EntityFeature enums in aladdin_connect (#69574) 2022-04-07 15:23:50 +02:00
epenet c61378337a
Use EntityFeature enums in emulated_hue (#69573) 2022-04-07 15:22:56 +02:00
epenet 2bc25aa92a
Use EntityFeature enums in forked_daapd (#69572) 2022-04-07 15:22:09 +02:00
epenet cac8d71764
Use EntityFeature enum in components (o**) (#69433) 2022-04-07 15:15:05 +02:00
epenet 3aeb53ec98
Use EntityFeature enum in components (y**) (#69470) 2022-04-07 15:10:38 +02:00
epenet 190ef4ee35
Use EntityFeature enum in components (s** 2/2) (#69441) 2022-04-07 15:06:34 +02:00
epenet 80a857c6c2
Use EntityFeature enum in components (p**) (#69434) 2022-04-07 15:03:42 +02:00
epenet b8fc399882
Use EntityFeature enum in components (r**) (#69437) 2022-04-07 14:55:09 +02:00
Erik Montnemery cbb76824e9
Migrate mystrom light to color_mode (#69428) 2022-04-07 14:53:23 +02:00
Erik Montnemery 0c72a39e23
Migrate mochad light to color_mode (#69425) 2022-04-07 14:52:49 +02:00
Erik Montnemery c43bd047fd
Migrate litejet light to color_mode (#69421) 2022-04-07 14:52:24 +02:00
Erik Montnemery 09f4e31343
Migrate lw12wifi light to color_mode (#69424) 2022-04-07 14:51:59 +02:00
Erik Montnemery 5110565488
Migrate lutron light to color_mode (#69422) 2022-04-07 14:50:21 +02:00
Erik Montnemery e8852e0f30
Migrate lcn light to color_mode (#69419) 2022-04-07 14:49:12 +02:00
epenet 4f494a876e
Use EntityFeature enums in alexa (#69570) 2022-04-07 14:46:50 +02:00
epenet 1ec08d2fe0
Use EntityFeature enum in components (x**) (#69469) 2022-04-07 14:39:09 +02:00
epenet bbf19582bb
Use EntityFeature enum in components (t**) (#69457) 2022-04-07 14:07:27 +02:00
epenet 889e1f4442
Use EntityFeature enum in vizio (#69571) 2022-04-07 14:02:17 +02:00
J. Nick Koston 23b84449e6
Bump sqlalchemy to 1.4.35 (#69534)
Changes: https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.35
2022-04-07 14:59:23 +03:00
J. Nick Koston 47c3aef7a2
Fix registered entities without a category not being exclude-able in the HomeKit UI (#69543) 2022-04-07 13:46:41 +02:00
Joakim Sørensen a5dc95e715
Fix adding OS entities for supervised installations (#69539) 2022-04-07 13:34:20 +02:00
Erik Montnemery 0ad9da9dd0
Always use a commit interval of 0 for the in memory db in tests (#69556) 2022-04-07 13:04:08 +02:00
J. Nick Koston 5c7c09726a
Cleanup recorder history typing (#69408) 2022-04-07 00:09:05 -10:00
J. Nick Koston 97aa65d9a4
Run energy db calls in the db executor (#69544)
Fixes #69537
2022-04-07 11:50:49 +02:00
epenet 4fe6b0c140
Adjust inheritance in rflink lights (#69541)
* Add color-more to RflinkLight

* Adjust inheritance
2022-04-07 10:34:24 +02:00
epenet 54bb86d198
Migrate upb light to color_mode (#69524)
* Migrate upb light to color_mode

* Add supported_color_modes

* Apply code review
2022-04-07 09:58:50 +02:00
epenet 3e426c0fa6
Use EntityFeature enum in mqtt (#69416) 2022-04-07 09:44:26 +02:00
epenet 4592583988
Migrate velbus light to color_mode (#69525)
* Migrate velbus light to color_mode

* Add COLOR_MODE_ONOFF
2022-04-07 09:43:18 +02:00
epenet d33fbbfb6d
Migrate tellduslive light to color_mode (#69522) 2022-04-07 09:40:17 +02:00
epenet 75b1760b29
Migrate rflink light to color_mode (#69532)
* Migrate rflink light to color_mode

* Add COLOR_MODE_ONOFF
2022-04-07 09:39:22 +02:00
epenet d5ab7e7525
Use EntityFeature enum in components (s** 1/2) (#69439) 2022-04-06 21:38:14 -10:00
epenet e6d8aa34fa
Use EntityFeature enum in components (i**) (#69409) 2022-04-06 21:35:27 -10:00
epenet 75eec850c1
Use EntityFeature enum in components (u**) (#69462) 2022-04-06 21:35:15 -10:00
epenet 95fb4695e4
Use EntityFeature enum in components (l**) (#69412) 2022-04-06 21:34:58 -10:00
epenet 96819fff74
Use EntityFeature enum in components (n**) (#69432) 2022-04-06 21:34:29 -10:00
epenet 2cc3bfa056
Migrate sisyphus light to color_mode (#69521) 2022-04-07 09:18:06 +02:00
epenet ee71dcca6c
Migrate unifiled light to color_mode (#69523) 2022-04-07 09:15:20 +02:00
epenet 72429a6c04
Migrate x10 light to color_mode (#69526) 2022-04-07 09:13:19 +02:00
epenet 34a9a1d152
Migrate unifiprotect light to color_mode (#69527) 2022-04-07 09:12:28 +02:00
epenet e66c4e11c9
Migrate tellstick light to color_mode (#69528) 2022-04-07 09:11:43 +02:00
epenet 3828c36202
Migrate smarttub light to color_mode (#69529) 2022-04-07 09:10:40 +02:00
epenet 766e6f2e9c
Migrate rfxtrx light to color_mode (#69530) 2022-04-07 09:09:47 +02:00
epenet 71b298f3ed
Use EntityFeature constants in homekit (#69535) 2022-04-06 21:09:27 -10:00
Erik Montnemery 9834197f71
Migrate myq light to color_mode (#69427) 2022-04-06 21:09:07 -10:00
epenet a10a1794d9
Migrate pilight light to color_mode (#69531) 2022-04-07 09:08:41 +02:00
Erik Montnemery 8cba371318
Migrate lutron_caseta light to color_mode (#69423) 2022-04-06 21:08:22 -10:00
Patrik Lindgren af5d29735f
Deprecate SUPPORT_*-constants for Tradfri integration (#69368)
* Refactor constants

* Remove _LOGGER

* Fix sort order

* Refactor constats

* Run isort

* Remove SUPPORTED_ constants from Tradfri integration

* Remove constant

* Remove line

* Use brackets

* Add documentation

* Address review comments
2022-04-07 09:06:29 +02:00
epenet f194f7809b
Use EntityFeature enum in components (v**) (#69465)
* Use EntityFeature enum in vallox

* Use EntityFeature enum in velbus

* Use EntityFeature enum in velux

* Use EntityFeature enum in venstar

* Use EntityFeature enum in vera

* Use EntityFeature enum in verisure

* Use EntityFeature enum in vesync

* Use EntityFeature enum in vicare

* Use EntityFeature enum in vivotek

* Use EntityFeature enum in vizio

* Use EntityFeature enum in vlc

* Use EntityFeature enum in vlc_telnet

* Use EntityFeature enum in volumio
2022-04-07 08:42:18 +02:00
Allen Porter 10a1b1f734
Gracefully handle empty summary in google calendar (#69520)
Gracefully handle empty summary in google calendar matching the old behavior
before some code cleanup.
2022-04-07 08:26:07 +02:00
epenet fbea950eb0
Use EntityFeature enum in components (z**) (#69471)
* Use EntityFeature enum in zha

* Use EntityFeature enum in zhong_hong

* Use EntityFeature enum in ziggo_mediabox_xl

* Use EntityFeature enum in zwave_js

* Use EntityFeature enum in zwave_me
2022-04-07 08:21:31 +02:00
Michael Davie aaf64f728e
Bump env_canada to 0.5.22 (#69503) 2022-04-06 22:35:13 -07:00
Allen Porter c07100e519
Move Local OAuth http endpoint registration to auth component (#69507) 2022-04-06 22:34:31 -07:00
Robert Hillis 8ef7ac1877
Remove deprecated Wanted sensor in radarr (#69500) 2022-04-07 08:32:52 +03:00
J. Nick Koston 5bcb795bca
Move handling of non-secure login to the elkm1 library (#69483) 2022-04-06 22:32:31 -07:00
epenet f11f1db177
Use EntityFeature enum in switch_as_x (#69442) 2022-04-07 08:14:10 +03:00
epenet a6f112df80
Use EntityFeature enum in components (w**) (#69468)
* Use EntityFeature enum in webostv

* Use EntityFeature enum in wemo

* Use EntityFeature enum in whirlpool

* Use EntityFeature enum in wilight
2022-04-07 08:12:39 +03:00
Glenn Waters caff81f613
Add service to set type of radar to retrieve. (#68252) 2022-04-06 13:55:37 -10:00
Joakim Sørensen 280dcbed18
Bump pyhaversion from 22.04.0 to 22.4.1 (#69486) 2022-04-06 16:13:11 -07:00
J. Nick Koston d6619dd4bc
Fix reloading the sun integration (#69495) 2022-04-06 16:06:22 -07:00
Dave T c6bba19e05
Continue on template error during yaml import for generic (#69440)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-04-06 15:49:59 -07:00
Shay Levy fe8e193225
Fix remote_rpi_gpio missing requirement (#69488) 2022-04-06 15:48:47 -07:00
Michael 95421b1ae7
Ignore IPv6 link local address on ssdp discovery in Fritz!Smarthome (#69455) 2022-04-06 15:45:46 -07:00
J. Nick Koston 02d245a31a
Fix reload race in unifiprotect (#69485)
- The integration already has a reload listener installed
  once it is setup. We should not reload from the config
  flow since they compete
2022-04-07 00:21:50 +03:00
Erik Montnemery 181142aae7
Migrate modbus light to color_mode (#69426) 2022-04-06 20:27:03 +02:00
Erik Montnemery def305cf46
Improve the use of bakeries in recorder (#69418) 2022-04-06 08:00:10 -10:00
J. Nick Koston dd6a0e3a89
Fix elkm1 connection when panel drops VN request (#69454) 2022-04-06 10:45:40 -07:00
Paulus Schoutsen c765e11f55
Fix telegram broadcast (#69452) 2022-04-06 10:44:02 -07:00
Raman Gupta bc194cd209
Add zeroconf discovery to zwave_js (#69382) 2022-04-06 18:46:13 +02:00
Franck Nijhof c0e9cfedfb
Add device trigger support to Update entity (#69395) 2022-04-06 08:50:21 -07:00
epenet 5e2cc2b9b0
Use EntityFeature enum in components (m**) (#69414)
* Use EntityFeature in melcloud

* Use EntityFeature in mystrom

* Use EntityFeature in mysensors

* Use EntityFeature in myq

* Use EntityFeature in mpd

* Use EntityFeature in monoprice

* Use EntityFeature in moehlenhoff_alpha2

* Use EntityFeature in modern_forms

* Use EntityFeature in modbus

* Use EntityFeature in melissa

* Use EntityFeature in mediaroom

* Use EntityFeature in maxcube

* Use EntityFeature in manual_mqtt

* Fix maxcube tests

* Revert "Use EntityFeature in modbus"

This reverts commit 56cf9d900d.

* Revert "Use EntityFeature in myq"

This reverts commit 44a31b1a03.

* Revert "Use EntityFeature in mystrom"

This reverts commit 7260ee0384.

* Revert "Revert "Use EntityFeature in modbus""

This reverts commit 916a612a60.

* Revert "Revert "Use EntityFeature in myq""

This reverts commit a6be42fa17.
2022-04-06 17:33:41 +02:00
Erik Montnemery 8e090a8c04
Minor tweak of recorder typing (#69415) 2022-04-06 08:08:00 -07:00
René Klomp 4a65e54665
Update pysma to 0.6.11 (#69397) 2022-04-06 13:01:55 +02:00
epenet a661e06e25
Use EntityFeature in homematic (#69405)
* Use EntityFeature in homematic

* Use EntityFeature in homematicip_cloud
2022-04-06 12:33:35 +02:00
hesselonline ef14ae85c8
Fix Wallbox charger status (#68708)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-06 12:05:50 +02:00
epenet a5b919ec6b
Use EntityFeature in homekit_controller (#69404) 2022-04-06 12:04:58 +02:00
epenet 999e2f3bf0
Use EntityFeature enum in components (h**) (#69403) 2022-04-06 11:59:23 +02:00
Brynley McDonald 38cfa83e23
Fix units for Flick Electric sensor (#69396) 2022-04-06 11:57:06 +02:00
epenet a3e0a1d04d
Use EntityFeature in group (#69393) 2022-04-06 11:56:05 +02:00
epenet 0b18459ab8
Use EntityFeature enum in evohome (#69385) 2022-04-06 11:53:41 +02:00
epenet dae2cf2827
Use EntityFeature enum in esphome (#69386) 2022-04-06 11:52:59 +02:00
epenet 78045df227
Use EntityFeature enum in components (e**) (#69384) 2022-04-06 11:03:29 +02:00
epenet 9ab9fcfc56
Use EntityFeature enum in components (f**) (#69389) 2022-04-06 10:55:25 +02:00
epenet 1fe5b1e68a
Use EntityFeature in ffmpeg (#69390) 2022-04-06 10:53:03 +02:00
epenet 20c1a155b6
Use EntityFeature enum in components (g**) (#69394) 2022-04-06 10:46:44 +02:00
epenet 42d0a4b81e
Use EntityFeature in geniushub (#69392)
* Use EntityFeature in geniushub

* Cleanup _supported_features
2022-04-06 11:22:33 +03:00
Erik Montnemery 7b5dd4a623
Restore attributes of template binary sensor (#69350) 2022-04-05 22:58:12 -07:00
Raman Gupta 79dc551f5a
Fix regression in zwave_js (#69312)
* Handle unique ID update during discovery step

* Use callback to convert unique IDs to strings

* Adjust test to make sure logic works

* Fix other tests

* Move comment

* Move migration to async_setup

* Remove async_migrate_entry since we take care of it during setup

* Remove unused test
2022-04-06 00:40:33 -04:00
ollo69 add01d434e
Minor changes on AndroidTV diagnostics (#69197) 2022-04-05 21:32:28 -07:00
J. Nick Koston 4b5033d08f
Abort samsungtv discovery of legacy devices when unique id not available (#69376) 2022-04-05 16:38:55 -07:00
Johan Nenzén f31d1164e5
Bump pyplaato to 0.0.16 (#69361) 2022-04-05 16:33:13 -07:00
Zack Barett 39c485ba88
20220405.0 (#69377) 2022-04-05 16:32:24 -07:00
epenet c8df2656b1
Use EntityFeature enum in components (d**) (#69358) 2022-04-06 00:00:37 +02:00
Franck Nijhof 9e2198fa47
Disable Spotify Media Player entity by default (#69372) 2022-04-05 14:54:03 -07:00
epenet 8af37235ec
Use EntityFeature enum in components (b**) (#69336) 2022-04-05 23:53:45 +02:00
epenet 6343752f98
Use EntityFeature enum in components (c**) (#69341) 2022-04-05 23:49:20 +02:00
epenet 246f4e081a
Use EntityFeature enum in components (a**) (#69333) 2022-04-05 23:42:05 +02:00
J. Nick Koston 8b2948f030
Ensure state is restored when turning on tplink lights without a color mode (#69308) 2022-04-05 13:46:12 -07:00
Robert Svensson d6d7f3cb3c
Bump pydeconz to v88 (#69369) 2022-04-05 13:44:04 -07:00
Philip Allgaier da55c48cce
Prevent issues with config update of "Timer" integration (unknown "restore" key) (#69332) 2022-04-05 22:22:03 +03:00
shbatm 433a946f62
Bump PyISY to 3.0.6 to fix group statuses (#69345) 2022-04-05 22:20:38 +03:00
Erik Montnemery fcad10dd0d
Improve integration translation strings (#69246)
* Improve integration translation strings

* Update
2022-04-05 20:08:17 +02:00
Marvin Wichmann 2689f1a7fd
Update XKNX to version 0.20.1 (#69353) 2022-04-05 21:07:11 +03:00
MoellerDi c9a754b29a
Fix "Camera not found" error in microsoft_face integration (#69295) 2022-04-05 20:00:12 +02:00
starkillerOG b40df08eb5
bump pynetgear to 0.9.4 (#69346)
* Bump home-assistant/wheels from 2022.01.0 to 2022.01.1

Bumps [home-assistant/wheels](https://github.com/home-assistant/wheels) from 2022.01.0 to 2022.01.1.
- [Release notes](https://github.com/home-assistant/wheels/releases)
- [Commits](https://github.com/home-assistant/wheels/compare/2022.01.0...2022.01.1)

---
updated-dependencies:
- dependency-name: home-assistant/wheels
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump home-assistant/wheels from 2022.01.1 to 2022.01.2

Bumps [home-assistant/wheels](https://github.com/home-assistant/wheels) from 2022.01.1 to 2022.01.2.
- [Release notes](https://github.com/home-assistant/wheels/releases)
- [Commits](https://github.com/home-assistant/wheels/compare/2022.01.1...2022.01.2)

---
updated-dependencies:
- dependency-name: home-assistant/wheels
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* Bump home-assistant/builder from 2021.12.0 to 2022.01.0

Bumps [home-assistant/builder](https://github.com/home-assistant/builder) from 2021.12.0 to 2022.01.0.
- [Release notes](https://github.com/home-assistant/builder/releases)
- [Commits](https://github.com/home-assistant/builder/compare/2021.12.0...2022.01.0)

---
updated-dependencies:
- dependency-name: home-assistant/builder
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

* bump pynetgear to 0.9.4

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-05 17:31:54 +03:00
Erik Montnemery 7b18d511cc
Migrate homematic light to color_mode (#69267) 2022-04-05 15:54:27 +02:00
J. Nick Koston 1a9420dda0
Try exact match first for update state (#69335)
- Exact matches are much cheaper than creating an AwesomeVersion
  and calling the __gt__ method, and since most of the time the
  result is expected to be off, we want to optimize for this case
2022-04-05 15:51:25 +02:00
epenet 2cf3057ff1
Add basic type hints to utility_meter (#69325)
Co-authored-by: Diogo Gomes <diogogomes@gmail.com>
2022-04-05 15:43:10 +02:00
Erik Montnemery 28350b9792
Revert "Use recorder executor in demo (#69327)" (#69334)
This reverts commit ff84104f45.
2022-04-05 14:50:58 +02:00
Patrik Lindgren 04fc3a1f25
Cleanup constants in Tradfri integration (#69125)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-05 14:00:45 +02:00
Leonardo Merza c8b4696ba2
Add vesync 600S support (#69311) 2022-04-05 13:56:26 +02:00
epenet ad98bedd4a
Add basic type hints to zwave_me (#69322) 2022-04-05 13:44:20 +02:00
J. Nick Koston e5c1cc35e1
Fix roomba doing I/O in the event loop (#69339) 2022-04-05 13:10:20 +02:00
Joakim Sørensen caa5b8f96c
Bump pyhaversion from 22.02.0 to 22.04.0 (#69329) 2022-04-05 13:57:33 +03:00
Martin Hjelmare ff84104f45
Use recorder executor in demo (#69327) 2022-04-05 11:46:42 +02:00
epenet 336c0a1ec7
Add basic type hints to meater (#69323) 2022-04-05 11:31:37 +03:00
epenet 20126363f2
Add basic type hints to vulcan (#69321) 2022-04-05 11:28:52 +03:00
epenet 36be2bfd75
Add basic type hints to subaru (#69324) 2022-04-05 11:28:07 +03:00
Bram Gerritsen 9c949f7f8f
PhilipsTV - Add Ambilight + Hue switch entity (#69141)
* Bump ha-philipsjs requirements

* Directly write correct ha state after switching on

* Update homeassistant/components/philips_js/switch.py

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

* Update homeassistant/components/philips_js/switch.py

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

* Format with black

Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-04-05 10:23:07 +02:00
J. Nick Koston ec131d685e
Auto repack the database on the second sunday of the month (#69314) 2022-04-04 21:39:12 -10:00
Daniel Hjelseth Høyer 0ab866cd23
Update Tibber lib (#69300) 2022-04-04 23:55:17 -07:00
Toke Høiland-Jørgensen 8145b103fb
Fix network starting with no configured IPv4 addresses (#69030)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-04 23:53:50 -07:00