Commit Graph

37982 Commits (b69b3be4b057c91f64e0c49f8fb9334caed0ab4c)

Author SHA1 Message Date
Robert Svensson 009111151d
Move deCONZ alarm system imports to reflect the changes in pydeconz (#70453) 2022-04-24 10:17:46 +02:00
Robert Svensson 83fde83279
Move deCONZ group and scene imports to reflect the changes in pydeconz (#70468)
* Move deCONZ scene imports to reflect the changes in pydeconz

* Move deCONZ group imports to reflect the changes in pydeconz

* Use common resourcegroup rather than 5 different imports in gateway
2022-04-24 10:09:58 +02:00
G Johansson 859dcb396a
Bump pysensibo to 1.0.12 (#70484) 2022-04-23 13:58:33 -10:00
epenet 43b9c62aa5
Use VacuumEntityFeature in tuya (#70563) 2022-04-23 11:45:22 -10:00
epenet 4247318634
Use VacuumEntityFeature in xiaomi_miio (#70564) 2022-04-23 11:45:10 -10:00
epenet 7c3fcdee95
Use VacuumEntityFeature in sharkiq (#70565) 2022-04-23 11:44:49 -10:00
epenet acc5c7ddf0
Use VacuumEntityFeature in litterrobot (#70562) 2022-04-23 11:43:13 -10:00
epenet c1888ce559
Use VacuumEntityFeature in neato (#70561) 2022-04-23 11:42:32 -10:00
epenet ca337b54a3
Use ColorMode enum in philips_js (#70529) 2022-04-23 11:27:32 -10:00
epenet 1179a88808
Use ColorMode enum in yeelight (#70560) 2022-04-23 11:04:54 -10:00
epenet 89200b27f0
Use ColorMode enum in tuya (#70545) 2022-04-23 11:00:34 -10:00
epenet 9906fd649e
Use ColorMode enum in vesync (#70553) 2022-04-23 10:59:50 -10:00
epenet 753a13d68d
Use ColorMode enum in wiz (#70554) 2022-04-23 10:59:21 -10:00
epenet 5a0bbedef8
Use ColorMode enum in group (#70500) 2022-04-23 10:27:55 -10:00
epenet be6dc81fc0
Use ColorMode enum in switch (#70537) 2022-04-23 10:26:35 -10:00
epenet 7d2e75e6ab
Use ColorMode enum in zwave_js (#70559) 2022-04-23 10:26:09 -10:00
epenet 677614546a
Use ColorMode enum in zwave_me (#70558) 2022-04-23 10:25:21 -10:00
epenet f9dbb92e60
Use ColorMode enum in zengge (#70557) 2022-04-23 10:10:35 -10:00
epenet da2312765c
Use ColorMode enum in wled (#70555) 2022-04-23 10:09:46 -10:00
epenet 663dbc4080
Use ColorMode enum in x10 (#70556) 2022-04-23 10:08:00 -10:00
epenet d00d9a2473
Use ColorMode enum in velux (#70552) 2022-04-23 10:02:25 -10:00
epenet 1b08e509ed
Use ColorMode enum in tasmota (#70549) 2022-04-23 10:02:18 -10:00
epenet 265bf3e9e0
Use ColorMode enum in upb (#70551) 2022-04-23 10:02:04 -10:00
epenet 20336ec49c
Use ColorMode enum in unifiprotect (#70547) 2022-04-23 10:01:55 -10:00
epenet 95f0d14f08
Use ColorMode enum in velbus (#70550) 2022-04-23 10:01:35 -10:00
epenet 3bbd08d9c9
Use ColorMode enum in unifiled (#70548) 2022-04-23 10:00:33 -10:00
Robert Svensson 301dcaae63
Move deCONZ sensor imports to reflect changes in pydeconz (#70471) 2022-04-23 22:59:51 +03:00
epenet 76aea16f29
Use ColorMode enum in twinkly (#70546) 2022-04-23 09:47:13 -10:00
epenet 121d2008c2
Use ColorMode enum in tplink (#70542) 2022-04-23 09:46:54 -10:00
epenet 9a38172d1f
Use ColorMode enum in tradfri (#70544) 2022-04-23 09:46:24 -10:00
epenet 6e1b8a9387
Use ColorMode enum in tellstick (#70540) 2022-04-23 09:44:48 -10:00
epenet 6e14f67860
Use ColorMode enum in tolo (#70541) 2022-04-23 09:44:29 -10:00
epenet 30b76db390
Use ColorMode enum in tellduslive (#70539) 2022-04-23 09:44:14 -10:00
epenet 23974eed41
Use ColorMode enum in switch_as_x (#70538) 2022-04-23 09:43:16 -10:00
epenet 9c42443910
Use ColorMode enum in smarttub (#70536) 2022-04-23 09:43:08 -10:00
epenet 2d498f71bb
Use ColorMode enum in sisyphus (#70535) 2022-04-23 09:43:00 -10:00
epenet dcddc910b8
Use ColorMode enum in rflink (#70531) 2022-04-23 09:42:54 -10:00
epenet dad806b16b
Use ColorMode enum in pilight (#70532) 2022-04-23 09:42:45 -10:00
epenet 93be31290d
Use ColorMode enum in shelly (#70534) 2022-04-23 09:42:36 -10:00
epenet d4d64b914d
Use ColorMode enum in senseme (#70533) 2022-04-23 09:42:29 -10:00
epenet 2ea583536b
Use ColorMode enum in rfxtrx (#70530) 2022-04-23 09:42:14 -10:00
epenet 1677a76ba4
Use ColorMode enum in myq (#70524) 2022-04-23 09:26:07 -10:00
epenet 4a276d90b0
Use ColorMode enum in overkiz (#70528) 2022-04-23 09:25:47 -10:00
epenet 1d5096638e
Use ColorMode enum in nanoleaf (#70527) 2022-04-23 09:25:03 -10:00
epenet f68764a053
Use ColorMode enum in mystrom (#70526) 2022-04-23 09:24:43 -10:00
epenet 177e6356b1
Use ColorMode enum in mysensors (#70525) 2022-04-23 09:24:33 -10:00
epenet 6d237275f8
Use ColorMode enum in modern_forms (#70523) 2022-04-23 09:24:19 -10:00
epenet a2bf33e74c
Use ColorMode enum in modbus (#70522) 2022-04-23 09:24:06 -10:00
epenet e40b4bee2d
Use ColorMode enum in mochad (#70521) 2022-04-23 09:23:55 -10:00
epenet e1f772c88f
Use ColorMode enum in lw12wifi (#70520) 2022-04-23 09:22:24 -10:00
epenet aa64acf918
Use ColorMode enum in lutron_caseta (#70519) 2022-04-23 09:22:10 -10:00
epenet 5bb850eea3
Use ColorMode enum in lutron (#70518) 2022-04-23 09:21:57 -10:00
epenet addf73d007
Use ColorMode enum in litejet (#70516) 2022-04-23 09:21:44 -10:00
epenet 1ba0a58b6d
Use ColorMode enum in lcn (#70515) 2022-04-23 09:21:33 -10:00
epenet a9cd5bd9c8
Use ColorMode enum in firmata (#70494) 2022-04-23 09:21:18 -10:00
epenet 33c1501f35
Use ColorMode enum in futurenow (#70498) 2022-04-23 09:21:05 -10:00
epenet 562927cc17
Use ColorMode enum in fritzbox (#70497) 2022-04-23 09:20:52 -10:00
epenet 5c0bc0063f
Use ColorMode enum in fjaraskupan (#70496) 2022-04-23 09:20:39 -10:00
epenet e8ff812d39
Use ColorMode enum in freedompro (#70495) 2022-04-23 09:20:23 -10:00
epenet d75862762b
Use ColorMode enum in evil_genius_labs (#70493) 2022-04-23 09:20:09 -10:00
epenet 80db3428b8
Use ColorMode enum in everlights (#70492) 2022-04-23 09:19:01 -10:00
epenet 4904d7b216
Use ColorMode enum in eufy (#70491) 2022-04-23 09:18:47 -10:00
epenet cc260db496
Use ColorMode enum in lookin (#70517) 2022-04-23 09:17:51 -10:00
epenet cf4232467c
Use ColorMode enum in kulersky (#70514) 2022-04-23 09:17:31 -10:00
epenet 7e7519fe05
Use ColorMode enum in knx (#70513) 2022-04-23 09:17:18 -10:00
epenet 5811e43319
Use ColorMode enum in iglo (#70512) 2022-04-23 09:16:58 -10:00
epenet 2f26407a31
Use ColorMode enum in insteon (#70511) 2022-04-23 09:16:40 -10:00
epenet 149cc01ed3
Use ColorMode enum in iaqualink (#70510) 2022-04-23 09:16:27 -10:00
epenet 346a385f1a
Use ColorMode enum in ihc (#70508) 2022-04-23 09:16:07 -10:00
epenet 34ad7b329e
Use ColorMode enum in hyperion (#70507) 2022-04-23 09:15:54 -10:00
epenet ee1ac730b8
Use ColorMode enum in homeworks (#70506) 2022-04-23 09:15:40 -10:00
epenet e30b3b4ab1
Use ColorMode enum in homematicip_cloud (#70505) 2022-04-23 09:15:26 -10:00
epenet e5eaa4b105
Use ColorMode enum in homematic (#70504) 2022-04-23 09:15:10 -10:00
epenet 994905d1ea
Use ColorMode enum in home_connect (#70502) 2022-04-23 09:14:49 -10:00
epenet 648c973785
Use ColorMode enum in hive (#70501) 2022-04-23 09:14:34 -10:00
epenet 033445721d
Use ColorMode enum in greenwave (#70499) 2022-04-23 09:14:13 -10:00
epenet 24ace6a1fb
Use ColorMode enum in enocean (#70489) 2022-04-23 09:13:53 -10:00
epenet 31fbc088fe
Use ColorMode enum in esphome (#70490) 2022-04-23 09:13:40 -10:00
epenet a0c7fca003
Use ColorMode enum in homekit_controller (#70503) 2022-04-23 09:09:25 -10:00
epenet 50823045e8
Use ColorMode enum in isy994 (#70509) 2022-04-23 09:06:23 -10:00
epenet fddc0e14c0
Use ColorMode enum in elkm1 (#70488) 2022-04-23 08:40:58 -10:00
Ani Betts 6c391ecc59
Remove broken Arlo component (#70330)
* Remove broken Arlo component

This component has been fully broken since early 2019 because of
authentication changes from Arlo.

* Update requirements
2022-04-23 20:16:28 +03:00
ollo69 95e38b16f9
Address late review of AsusWRT config flow changes (#70448)
* Address late review of  AsusWRT config flow changes

* Review schema preparation

* Requested changes
2022-04-23 13:28:09 +02:00
Matthias Alphart 639e3bb900
Add optional `type` for KNX notify entity configuration (#70451) 2022-04-23 12:21:58 +02:00
Álvaro Fernández Rojas 0c2acdf337
Add Airzone diagnostics (#69362)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-22 22:28:07 -10:00
Dmitry Katsubo 521579fc6a
Fixed syntax error in ALTER TABLE statement (#70304) (#70336) 2022-04-22 21:29:25 -10:00
Raman Gupta 37ea4660f9
Bump zwave-js-server-python to 0.36.0 (#70464)
* Bump zwave-js-server-python to 0.36.0

* update missed property name change
2022-04-23 02:20:50 -04:00
Michael ed8fe9963e
Improve entity and device naming in Synology DSM (#69754) 2022-04-22 19:57:39 -10:00
rikroe eccc8bf79d
Bump bimmer_connected to 0.8.12, fix china login (#70374)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-22 19:52:37 -10:00
Andrzej Raczkowski bf9467ad7b
Bump cryptography to 36.0.2 (#70438) 2022-04-22 19:50:45 -10:00
epenet 2e5ad58c32
Use ColorMode enum in dynalite (#70436) 2022-04-22 19:50:02 -10:00
epenet 68697b6477
Use ColorMode enum in broadlink (#70434) 2022-04-22 19:49:46 -10:00
epenet 643d04a717
Use ColorMode enum in blebox (#70426) 2022-04-22 19:49:39 -10:00
epenet 72b31ca51a
Use ColorMode enum in blinksticklight (#70433) 2022-04-22 19:49:29 -10:00
epenet 0e1911cd9b
Use ColorMode enum in decora_wifi (#70430) 2022-04-22 19:49:22 -10:00
epenet 35e395235a
Use ColorMode enum in decora (#70429) 2022-04-22 19:49:14 -10:00
epenet 7ffe399a08
Use ColorMode enum in control4 (#70428) 2022-04-22 19:49:08 -10:00
epenet bd2639af65
Use ColorMode enum in avea (#70424) 2022-04-22 19:48:53 -10:00
epenet c390ec33cd
Use ColorMode enum in ads (#70422) 2022-04-22 19:48:38 -10:00
epenet e806020bc3
Use ColorMode enum in avion (#70423) 2022-04-22 19:46:29 -10:00
Raman Gupta 44c1dc7f5a
Bump pytomorrowio to 0.3.3 (#70463)
* Bump pytomorrowio to 0.3.3

* Empty commit
2022-04-23 01:46:13 -04:00
Johan Nenzén 16ca038f12
Bump pyplaato to 0.0.18 (#70391) 2022-04-22 19:28:26 -10:00
Oliver 8dea97e084
Update denonavr to version 0.10.11 (#70450)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-22 19:27:58 -10:00
Robert Svensson 678888c65f
deCONZ dependency exports type hints (#70449) 2022-04-22 19:27:47 -10:00
Álvaro Fernández Rojas a29265e725
Add Airzone Low Battery Binary Sensor (#69022)
* airzone: binary_sensor: add Low Battery

This binary sensor is only applicable for Radio Thermostats.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>

* airzone: use BinarySensorDeviceClass

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-04-22 19:27:23 -10:00
Álvaro Fernández Rojas 6dc44863c4
Split and refactor AirzoneEntity (#70421) 2022-04-22 19:20:14 -10:00
Allen Porter 5ffaa70bb6
Add calendar event end trigger (#70372)
* Add calendar event end trigger

* Rename start date to last_endtime

* Rename now to last_endtime
2022-04-22 21:19:35 -07:00
Jason Hunter 9008a76bd4
Remove deprecated YAML configuration from ONVIF (#70395)
* Remove deprecated YAML configuration from ONVIF

* remove async_setup completely
2022-04-22 21:35:11 -04:00
epenet 489e70bd7f
Use ColorMode enum in bond (#70427) 2022-04-22 14:44:31 -10:00
Raman Gupta 7da2e765d1
Reorganize tomorrowio code to keep it clean (#70454) 2022-04-22 16:10:13 -07:00
J. Nick Koston 23cf8bef65
Bump aiodiscover to 1.4.11 (#70413)
Fixes #70402

Changelog: https://github.com/bdraco/aiodiscover/compare/v1.4.10...v1.4.11
2022-04-22 19:26:06 +03:00
epenet fde79e606d
Use ColorMode enum in axis (#70425) 2022-04-22 17:51:04 +02:00
epenet 5ec855e020
Use ColorMode enum in deconz (#70431) 2022-04-22 17:50:00 +02:00
Erik Montnemery e45d4d53dd
Correct time stamp format in Alexa responses (#70267) 2022-04-22 08:44:59 -07:00
epenet 56921a41bf
Use ColorMode enum in crownstone (#70432) 2022-04-22 16:25:20 +02:00
J. Nick Koston cc3d6aa247
Ensure rainmachine creates config entry titles as strings (#70417) 2022-04-22 07:58:19 -06:00
epenet edffac82e9
Use ColorMode enum in devolo_home_control (#70435) 2022-04-22 15:31:11 +02:00
J. Nick Koston 3737b58e85
Avoid fetching metadata multiple times during stat compile (#70397) 2022-04-22 00:25:42 -10:00
Raman Gupta be0fbba523
Bump pytomorrowio to 0.3.1 (#70130) 2022-04-22 09:22:43 +02:00
Robert Svensson 69f4aeaf42
Enable strict typing of deconz_device (#70341)
* Enable strict typing of deconz_device completing strict typing of deconz integration
2022-04-22 09:19:35 +02:00
ollo69 74b50a8009
Enable AsusWRT strict typing (#70396)
* Enable AsusWRT strict typing

* Fix myPi errors
2022-04-22 10:14:13 +03:00
Dave T 70e125850c
Limit autogenerated entity_id string length (#69739) 2022-04-21 22:39:51 -07:00
Franck Nijhof 7b75a16745
Add visible by default property to base Entity (#70370) 2022-04-21 22:06:34 -07:00
J. Nick Koston 9761a7310e
Adjust doc string for recorder.Recorder.async_periodic_statistics (#70398) 2022-04-21 22:04:42 -07:00
J. Nick Koston 3142a106fc
Additional prep work for sqlalchemy 2.0 (#70358) 2022-04-21 12:39:18 -10:00
J. Nick Koston 034ba7d3ff
Only read HomeKit service/chars from disk once (#70354) 2022-04-21 13:54:44 -07:00
Marc Mueller 90dab235f7
Update pylint to 2.13.7 (#70381)
* Update pylint to 2.13.7

* Spelling

* Remove old pylint config value

* Code updates
2022-04-21 13:02:52 -07:00
Dave T 020f94fa56
Handle additional ONVIF messages (Hikvision) (#66357)
* Handle additional onvif messages (hikvision)

* Only convert to local timezone once.

* Code review: put new parser in a better place.

* Remove whitespace

* Code review: Remove ONVIF 'line crossed' parser

* Code review: Unparsed events log info not warning

* Fix isort

* Handle additional onvif messages (hikvision)

* Only convert to local timezone once.

* Code review: put new parser in a better place.

* Remove whitespace

* Code review: Remove ONVIF 'line crossed' parser

* Code review:only return valid datetime,improve try

* Code review: datetime conversions into try blocks

* address PR comments

Co-authored-by: Jason Hunter <hunterjm@gmail.com>
2022-04-21 15:30:35 -04:00
Jason Hunter 22db21b9d4
Add diagnostics to ONVIF (#69708) 2022-04-21 11:38:20 -07:00
Franck Nijhof d08b751a85
Add unique ID to scripts (#70345) 2022-04-21 20:04:02 +02:00
jjlawren ac88d0be14
Add Sonos favorites sensor (#70235) 2022-04-21 10:37:16 -07:00
Erik Montnemery 9bec649323
Restore state of trigger-based template sensor (#69344) 2022-04-21 09:32:18 -07:00
Erik Montnemery 7b1e0e42f7
Allow device conditions and triggers for unitless sensors (#70337) 2022-04-21 09:31:15 -07:00
Jeef 4d09078114
IntelliFire Config API Token Config Update (#68134)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-21 09:14:13 -07:00
J. Nick Koston 73a368c242
Refactor history_stats to minimize database access (part 2) (#70255) 2022-04-21 09:06:59 -07:00
ollo69 f6e5e1b167
Simplify AsusWRT config flow (#69800) 2022-04-21 08:23:40 -07:00
Allen Porter a2c74b9786
Add initial implementation of a calendar trigger (#68674)
* Add initial implementation of calendar trigger

This is an initial implementation of a calendar trigger, that supports
triggering on calendar start time.

See architecture proposal in:
https://github.com/home-assistant/architecture/discussions/700

* Address reviewer feedback

* Use f-strings for all tests

* Apply suggestions from code review

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

* Remove logging f-strings, and move to main code

* Remove mypy ignore

* Apply suggestions from code review

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

* Update calendar triggers to use new calendar data model

* Update tests/components/calendar/test_trigger.py

Co-authored-by: Franck Nijhof <frenck@frenck.nl>

* Rewrite tests using freezegun

Rewrite tests using freezegun and improve edge case handling, and use utc consistently for all alarms.

* Update homeassistant/components/calendar/trigger.py

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

* Update homeassistant/components/calendar/trigger.py

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

* Increase test coverage based on pr feedback

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-04-21 08:09:50 -07:00
Franck Nijhof 7003862bd8
Fix Plugwise to not use invalid discovery data (#70366) 2022-04-21 16:06:22 +03:00
Raman Gupta 220cb57add
Bump zwave-js-server-python to 0.35.3 (#70357) 2022-04-21 14:14:39 +02:00
rikroe 80653463bf
Add DataUpdateCoordinator to bmw_connected_drive (#67003)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2022-04-20 22:13:09 -10:00
Jason Maners 089f7279bc
Update vesync to use pyvesync v2.0.2 (#70281)
Co-authored-by: Shay Levy <levyshay1@gmail.com>
2022-04-21 10:36:02 +03:00
Erik Montnemery de9f39745b
Fix race in _process_recorder_platform (#70339)
* Fix race in _process_recorder_platform

* Update homeassistant/components/recorder/__init__.py

Co-authored-by: J. Nick Koston <nick@koston.org>

* Update tests

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-21 09:03:05 +02:00
Raman Gupta c390834ae4
Add available tones property to siren entity description (#70216)
* Fix siren entity description and available tones property

* Add test

* Fix bug

* Add coverage
2022-04-21 02:33:22 -04:00
Erik Montnemery 5e50a8abd5
Mark device triggers from hidden or auxiliary entities as secondary (#70335)
* Mark device triggers from hidden or auxiliary entities as secondary

* Update tests
2022-04-21 08:01:32 +02:00
Allen Porter 0e0c0ce22b
Move google calendar integration to aiohttp (#70173)
* Use new aiohttp based google client library in gcal_sync.

* Use base url in tests for shorter string

* Remove unnecessary line of code

* Jump to gcal-sync-0.4.1

* Update tests/components/google/conftest.py

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

* Update to gcal_sync 0.5.0 incorporating PR feedback

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-20 20:18:24 -07:00
J. Nick Koston b8369f79eb
Bump aiodiscover to 1.4.10 (#70348) 2022-04-21 01:43:27 +02:00
Zack Barett 2c284f5a28
Bump frontend to 20220420.0 (#70347) 2022-04-20 16:18:03 -07:00
Marvin Wichmann 029ffad537
Update xknx to version 0.20.4 (#70342) 2022-04-21 02:16:08 +03:00
Franck Nijhof 35687def02
Merge stop & error script actions (#70109) 2022-04-20 14:22:37 -07:00
Steven Looman bddfbe01f3
Better handle devices changing UDN and/or location in upnp component (#70008) 2022-04-20 11:01:43 -10:00