Commit Graph

37982 Commits (b69b3be4b057c91f64e0c49f8fb9334caed0ab4c)

Author SHA1 Message Date
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
Franck Nijhof bfc82b030f
Replace Climate CURRENT_HVAC_* constants with HVACAction enum (#70319) 2022-04-20 13:41:05 -07:00
Erik Montnemery 9e213caefc
Tweak utility_meter service descriptions (#70338) 2022-04-20 22:07:16 +02:00
Erik Montnemery 150f173eed
Mark device conditions from hidden or auxiliary entities as secondary (#70333) 2022-04-20 21:41:59 +02:00
Erik Montnemery 7c0b0f7cc1
Migrate homekit_controller light to color_mode (#69261) 2022-04-20 09:26:15 -10:00
Glenn Waters 2abe551eef
Complete strict typing for ElkM1 integration (#70334) 2022-04-20 09:04:11 -10:00
Erik Montnemery 64381acbaf
Mark device actions from hidden or auxiliary entities as secondary (#70278) 2022-04-20 10:48:46 -07:00
Glenn Waters 2a99084911
ElkM1 integration, add strict types to config_flow (#70323) 2022-04-20 10:46:36 -07:00
Johann Vanackere b0ed42a5a5
Fix #69952: Daikin AC Temperature jumps after being set (#70326) 2022-04-20 10:43:44 -07:00
Paulus Schoutsen b049ffca23
Add Insteon USB discovery (#70306)
* Add Insteon USB discovery

* Update tests/components/insteon/test_config_flow.py

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

* Black

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-20 10:07:35 -07:00
J. Nick Koston 415c8b4ab8
Fix handling unassigned areas in lutron_caseta (#70258) 2022-04-20 10:07:00 -07:00
akloeckner d20a620590
Make `this` variable available in template entities (#65201)
* feat: make this variable available in template entities

This makes the variable `this` available in template entities.
It will simplify the use of self-referencing template entities.
Because, without this, we have to repeat the entity id every time.
If we can solve this without explicitly spelling the entity id,
code can be re-used much better.

As a side-effect, this will allow to use `variables`-like patterns,
where attributes can be used as variables to calculate subsequent attributes or state.

Example:
```yaml
template:
  sensor:
    - name: test
      state: "{{ this.attributes.test }}"
      # not: "{{ state_attr('sensor.test', 'test' }}"
      attributes:
        test: "{{ now() }}"
```

* expose entity_id instead of this

* add test

* Refactor to expose this variable

* Tweak repr dunder

Co-authored-by: Erik <erik@montnemery.com>
2022-04-20 15:30:17 +02:00
Fabian Affolter 9316909e60
Upgrade psutil to 5.9.0 (#70316) 2022-04-20 15:17:21 +02:00
Thibaut b4a536ca09
Fix opening/closing for awning in Overkiz integration (#68890) 2022-04-20 14:53:20 +02:00
Franck Nijhof a22f36178f
Replace Climate HVAC_MODE_* constants with HVACMode enum (#70286)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-20 13:20:53 +02:00
J. Nick Koston 0dc426e2c4
Bump aiohomekit to 0.7.17 (#70313)
Changelog: https://github.com/Jc2k/aiohomekit/compare/0.7.16...0.7.17

Fixes: #67665
2022-04-20 13:02:17 +03:00
Fabian Affolter cd52a8afe5
Remove myself from arest codeowners (#70314) 2022-04-19 22:56:33 -10:00
Shay Levy 70616d2b78
Revert "Add humidity to tomorrowio hourly weather forecasts (#70186)" (#70311)
This reverts commit febcab11fb.
2022-04-20 11:56:13 +03:00
Fabian Affolter 4358152b63
Remove myself from bitcoin codeowners (#70315) 2022-04-19 22:55:35 -10:00
Robert Svensson 78b02fe0ce
Enable strict typing for deCONZ platforms (#70290) 2022-04-20 09:03:53 +02:00
Diego Elio Pettenò 16de5edcbf
Don't attempt to set invalid fan percentage and preset_mode (try 3) (#70294)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-19 23:59:57 -07:00
Franck Nijhof c460100af1
Add backup.create service (#70118) 2022-04-20 08:56:05 +02:00
Poltorak Serguei 725339145f
Scale Z-Wave.Me max values (#70274)
Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
2022-04-20 08:38:55 +02:00
Glenn Waters 1492ea1fe3
Elk types 4 (#70305) 2022-04-19 16:45:45 -10:00
arantes555 a1f33a093c
Generic thermostat temp step (#70303)
* Add target_temp_step to generic_thermostat

* Add target_temp_step to generic_thermostat : fix default + add tests

* Add target_temp_step to generic_thermostat : fix test by using new 'units_imperial' fixture
2022-04-20 01:19:59 +03:00
Glenn Waters cec2a40602
ElkM1 integration adding types, part 3 (#70214)
* ElkM1 integration adding types, part 3

* Fix default _state value.

* Tweak fan get.

* change get to dict access.
2022-04-19 10:52:46 -10:00
IceBotYT 1fb261cdc5
Code quality improvements to PECO (#70301) 2022-04-19 22:45:27 +02:00
ollo69 b7c1fbc842
Add missing typing in AsusWRT router class (#70189)
* Add missing typing in AsusWRT router class

* Fix typing in device tracker

* Fix mypy incompatible type
2022-04-19 22:55:46 +03:00
J. Nick Koston c08afca912
Revert "Add target_temp_step to generic_thermostat (#58691)" (#70299)
This reverts commit ba4ca3e38e.
2022-04-19 22:46:42 +03:00
Robert Svensson 7bc9d01520
Enable strict typing for deCONZ platforms cover+lock+siren+switch (#69930) 2022-04-19 18:14:56 +02:00
lymanepp febcab11fb
Add humidity to tomorrowio hourly weather forecasts (#70186)
* Add humidity to hourly weather forecasts

* Don't include humidity in daily forecasts

* Fix test
2022-04-19 19:14:07 +03:00
Mask3007 2228ea5ee0
Add update entity to fritz integration (#70096) 2022-04-19 17:12:21 +02:00
Michael 89c717bf40
Enable long term statistics for Xiaomi Mijia BLE Temperature and Humidity Sensor (#70272) 2022-04-19 17:09:41 +02:00
Álvaro Fernández Rojas 5729209d5d
Update aioairzone to v0.4.0 (#70280) 2022-04-19 17:03:13 +02:00
arantes555 ba4ca3e38e
Add target_temp_step to generic_thermostat (#58691)
* Add target_temp_step to generic_thermostat

* Add target_temp_step to generic_thermostat : fix default + add tests
2022-04-19 17:16:37 +03:00
Franck Nijhof d65e12ab6e
Add clear_skipped service to update entity (#70116) 2022-04-19 16:11:16 +02:00
Poltorak Serguei 9d016dd434
Add Z-Wave.Me Fan support (#69768)
* Fan entity

* Fix union

* Fix union

* Apply suggestions from code review

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

* Fix percentage scale

Co-authored-by: Dmitry Vlasov <kerbalspacema@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-19 13:06:31 +02:00
Franck Nijhof 0969e50553
Update Pillow to 9.1.0 (#70273) 2022-04-19 12:49:43 +02:00
Franck Nijhof 3869388f5f
Update sentry-sdk to 1.5.10 (#70269) 2022-04-19 12:49:28 +02:00
Simone Chemelli 23446fa1c0
Fix file size last_updated (#70114)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-19 12:49:07 +02:00
Joakim Sørensen 9525077574
Add diagnostics platform to the Supervisor integration (#70265)
* Add diagnostics platform to the Supervisor integration

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-19 12:16:36 +02:00
Dave T 8245ebaef5
Correct grammar in notification description (#70249) 2022-04-19 11:12:24 +02:00
J. Nick Koston 95b98ac9f1
Revert "Revert "Use recorder executor in demo (#69327)" (#69334)" (#69545)
- We have found the issue causing the CI failures and its
  being solved in #69410.

This reverts commit 28350b9792.
2022-04-19 11:09:16 +02:00
Robert Svensson 506be5a818
Enable strict typing for deCONZ platforms binary_sensor+fan+logbook+number (#70171) 2022-04-19 10:32:57 +02:00
Diogo Gomes 03874d1b65
Correct state restoring for Utility Meter sensors (#66851)
* fix merge

* backward compatability

* add status

* increase coverage

* increase further the coverage

* adds support for Decimal in SensorExtraStoredData

* more precise

* review

* don't restore broken last_reset

* increase coverage

* address review comments

* stale

* coverage increase

* Update homeassistant/components/utility_meter/sensor.py

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

* catch corrupt files and respective tests

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-04-19 09:01:52 +02:00
Diogo Gomes 9dfd37c60b
Use CONF_NAME consistently in utility meter sensors with and without tariffs (#69152)
* apply name to tariff based sensors too

* change name without breaking entity_id

* address comments
2022-04-19 09:00:36 +02:00
jjlawren c29a5dc3fd
Add guard for Sonos S1 radio show compatibility (#70251) 2022-04-19 08:56:03 +02:00
Kevin Worrel 16c6d79265
Screenlogic config: Filter unexpected host names (#70256) 2022-04-19 08:51:05 +02:00
Christopher Bailey 3fa3ee9ea2
Fix updating CameraZone coords for UniFi Protect (#70260) 2022-04-19 08:45:39 +02:00
hesselonline 84666ce05e
Rename wallbox non-config CONF_ variables (#69737) 2022-04-19 08:44:25 +02:00
J. Nick Koston d03760d0bb
Switch to using ULIDs for context_ids (#70246) 2022-04-18 22:45:41 -07:00
Bram Gerritsen 1da7927fbb
Fix issue with turning the ambilight on after switched off (#69132)
* Refactor ambilight component. Fix issue with turning the ambilight on after switched off

* Move dataclass to original location. Add factory method

* Remove follow video effect list

* Fix log

* Remove follow video effect list

* Update homeassistant/components/philips_js/light.py

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

* Update homeassistant/components/philips_js/light.py

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

* Add missing typing

* Fix issues with restoring last state

Co-authored-by: Joakim Plate <elupus@ecce.se>
2022-04-19 06:32:18 +02:00
J. Nick Koston e70c8fa359
Refactor history_stats to minimize database access (part 1) (#70134) 2022-04-18 13:18:38 -10:00
IceBotYT 6c75eaa1bc
Add outage map alerts to PECO (#69825) 2022-04-18 23:22:14 +02:00
G Johansson c87992715f
Add update platform for Sensibo (#70180) 2022-04-18 23:17:39 +02:00
J. Nick Koston f63465bd71
Add recorder platform to input_select (#70223) 2022-04-18 22:18:19 +02:00
Thomas Lovén b50f369fe4
Add shorthand notation for boolean conditions (#70120) 2022-04-18 22:09:09 +02:00
Sebastian Lövdahl 8f4979ea17
Reduce state updates for OctoPrint (#70146) 2022-04-18 21:33:40 +02:00
ollo69 f4d4b52204
Improve AsusWrt test coverage (#70215)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-18 09:20:40 -10:00
ollo69 a27f61cf07
Improve AsusWRT diagnostics (#69826) 2022-04-18 09:20:01 -10:00
Franck Nijhof ce1f074ca9
Add Template selector (#70229) 2022-04-18 11:28:01 -07:00
Franck Nijhof 1e4aacaeb1
Replace Alarm Control Panel FORMAT_ constants with CodeFormat enum (#69861) 2022-04-18 19:37:32 +02:00
Franck Nijhof 81f3c82aef
Add recorder platform to input_text (#70227) 2022-04-18 08:22:14 -07:00
Franck Nijhof ec92c295d4
Add recorder platform to input_number (#70226) 2022-04-18 08:21:53 -07:00
Franck Nijhof 5d62f405f1
Add recorder platform to input_datetime (#70225) 2022-04-18 08:19:55 -07:00
Franck Nijhof fc4e9b0cc3
Add recorder platform to input_button (#70224) 2022-04-18 08:18:46 -07:00
J. Nick Koston 4dceff88fc
Use new async_process_integration_platform_for_component helper in sun (#70183) 2022-04-18 08:13:30 -07:00
Dave T d69a7e7be9
Hide credentials from generated titles in generic camera (#70204) 2022-04-18 07:57:52 -07:00
Greg Dowling 23264c8fd4
Improve roon integraton (#66000)
* Update to new library, revise discovery to work with new library, specify port to work with new library.

* Move user gui to fallback.

* Revise tests.

* Handle old config.

* Improve debugging, refresh faster on load.

* Remove duplicate.

* Bump library version.

* Fix docstring per review.

* Review suggestion

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

* Review suggestion

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

* Add check for duplicate host.

* Add error message to strings.

* Tidy.

* Review changes.

* Remove default.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-04-18 16:27:14 +02:00
J. Nick Koston c3108b3899
Exclude attributes for automation and script domains (#70168) 2022-04-18 12:10:18 +02:00
Franck Nijhof 38a1ef45ed
Add recorder platform to input_boolean (#70154)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-18 11:38:48 +02:00
J. Nick Koston 026e1635cc
Rename async_process_integration_platform to async_process_integration_platform_for_component (#70217) 2022-04-17 20:59:31 -10:00
J. Nick Koston a9a5645255
Defer profiler imports until needed to reduce memory pressure (#70202) 2022-04-17 20:16:25 -10:00
jjlawren c53aa50093
Rework Sonos discovery & availability (#70066) 2022-04-17 22:54:51 -07:00
J. Nick Koston 40eb1554d9
Only set attributes based on the configured type for min_max sensors (#70142) 2022-04-17 22:53:49 -07:00
J. Nick Koston b4ef150339
Add a guard when there are no integration platforms loaded (#70182) 2022-04-17 22:45:52 -07:00
J. Nick Koston b74986f9c3
Avoid importing distutils in plex (#70203) 2022-04-17 22:45:10 -07:00
J. Nick Koston c393622b64
Avoid calling time.monotonic on coordinator refresh unless we are debugging (#70209) 2022-04-17 22:40:44 -07:00
J. Nick Koston 80ab8b465b
Fix elkm1 climate auto mode mapping (#69297) 2022-04-17 22:37:19 -07:00
J. Nick Koston 2c2b678e80
Fix handling of powerview stale state (#70195) 2022-04-17 22:31:48 -07:00
J. Nick Koston e2881ba57e
Bump aiodiscover to 1.4.9 (#70213) 2022-04-17 22:29:48 -07:00
Dave T 32f9aefb40
Auto set content type for stream-only in generic camera (#70200) 2022-04-17 22:28:25 -07:00
Glenn Waters 24e817a173
ElkM1 integration add types, part 2 (#70210) 2022-04-17 14:31:37 -10:00
Glenn Waters 2641ecdec8
ElkM1 integration: library bump (#70197) 2022-04-17 10:21:41 -10:00
Robert Svensson b6cf65decb
Improve typing of deCONZ sensor platform (#70161) 2022-04-17 20:58:42 +03:00
Sébastien RAMAGE 2af1b7d974
Revert zigpy-zigate to 0.7.4 (#70184)
* Update requirements_all.txt

revert to zigpy-zigate 0.7.4

* Update requirements_test_all.txt

revert to zigpy-zigate 0.7.4

* Update manifest.json

revert to zigpy-zigate 0.7.4
2022-04-17 20:52:17 +03:00
J. Nick Koston 42c448c422
Add the ability to process integration platforms on demand (#70174) 2022-04-17 00:23:00 -10:00
Clifford Roche 4184c97b65
Bump greeclimate to 1.1.1 (#70158) 2022-04-16 23:20:51 +02:00
Hans Oischinger 248b41b964
Fix broken translation (#70156) 2022-04-16 23:14:36 +02:00
J. Nick Koston 37d39ac6d3
Add restored to the set of attributes excluded from being recorded in the db (#70169)
* Add restored to the set of attributes excluded from being recorded in the database

- Noticed on restart that the table gets 100s of new rows because
  of these

* Update homeassistant/components/recorder/const.py
2022-04-16 23:09:08 +02:00
Raman Gupta 3bcd921a28
Add entity registry helper to update entity platform (#69162)
* Add entity registry helper to migrate entity to new platform

* Add additional assertion

* Add more properties to migration logic

* Change logic after thinking about erik's comments

* Require new_config_entry_id if entry.config_entry_id is not None

* Create private async_update_entity function that all update functions use

* Don't have special handling for entity ID missing in async_update_entity_platform

* fix docstring
2022-04-16 16:18:52 -04:00
Avi Miller 42e0bc849c
Narrow down the list of LIFX models for HomeKit discovery (#70125)
* Narrow down the list of LIFX models for HomeKit discovery

This allows the LIFX Switch to be integrated using the HomeKit
Controller component. I also adjusted the zeroconf test so that
the partial match still matches the lifx integration.

Signed-off-by: Avi Miller <me@dje.li>

* Update tests/components/zeroconf/test_init.py

Co-authored-by: J. Nick Koston <nick@koston.org>
2022-04-16 10:08:44 -10:00
Robert Svensson f0b1d35562
Address late review of deconz climate (#70148)
* Fix late comment

* Avoid unnecessary properties

* Add clip sensor test to increase coverage of climate

* Fix review_comment
2022-04-16 21:14:54 +02:00
Brandon Rothweiler a2337f4a43
Bump pymazda to 0.3.3 (#70136) 2022-04-16 18:08:21 +02:00
Simone Chemelli 0f8595e8a7
Fix retry when Met config entry fails (#70012) 2022-04-16 18:04:09 +02:00
G Johansson f5318ef6c2
Fix StationInfo not string in Trafikverket Train (#70153) 2022-04-16 17:08:54 +02:00
J. Nick Koston cac0e935a8
Bump flux_led to 0.28.28 (#70139) 2022-04-16 16:40:37 +02:00
J. Nick Koston b629b3d99a
Ensure powerwall retries setup when api returns too many requests (#70143) 2022-04-16 12:12:16 +02:00
Fabian Affolter 2c61a06644
Remove myself from codeowners (#70127) 2022-04-16 02:27:09 +03:00
Fabian Affolter 7133b80b35
Remove myself from codeowners (#70129) 2022-04-16 02:26:23 +03:00
Matthias Alphart 04a153345e
update xknx to 0.20.3 (#70123) 2022-04-16 00:15:05 +03:00