Commit Graph

33088 Commits (79cd281c482965734e36d8d299111249ba8347e2)

Author SHA1 Message Date
epenet 4411d51d6f
Use dataclass properties in deconz discovery (#60690)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 19:38:20 +01:00
epenet 6a926b41f2
Enable warnings for SsdpServiceInfo (#60756)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 08:35:39 -10:00
einarhauks 5c4422dc72
Remove power sensor from Tesla Wall Connector (#60775)
Add voltage and current sensors for each phase
2021-12-01 19:21:56 +01:00
Franck Nijhof 4dfdb3b96f
Upgrade vehicle to 0.2.2 (#60763)
* Upgrade vehicle to 0.2.1

* Upgrade vehicle to 0.2.2
2021-12-01 19:08:35 +01:00
Robert Svensson 8ddfa424c0
Add typing to deCONZ init and config flow (#59999) 2021-12-01 18:59:52 +01:00
Aaron Bach a053c0a106
Bump py17track to 2021.12.1 (#60762) 2021-12-01 18:52:33 +01:00
epenet b65b2c4cd1
Use dataclass properties in syncthru discovery (#60739)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:40:27 +01:00
epenet 5c992ec2cc
Remove cleanup_registry from onewire (#60546)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:38:07 +01:00
epenet 824b313705
Use dataclass properties in yamaha_musiccast discovery (#60749)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:36:07 +01:00
Tobias Sauerwein 68011ee952
Clean up Netatmo climate platform (#60694)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-01 18:35:12 +01:00
epenet ead4f745e3
Use dataclass properties in somfy_mylink discovery (#60736)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:33:22 +01:00
epenet 800ffc0dec
Use ssdp namespace in roku (#60733)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:32:48 +01:00
epenet e001cb3b17
Use dataclass properties in powerwall discovery (#60732)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:32:15 +01:00
epenet 3db3f264c2
Use dataclass properties in nuki discovery (#60731)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:31:51 +01:00
Tobias Sauerwein 037f4dbdb1
Use device class enums in Netatmo (#60723) 2021-12-01 18:30:47 +01:00
xpac1985 b41e020f85
Better warning if unit of sensor is unsupported for its device class (#60665)
* Better warning if unit of sensor is unsupported for its device class

* Prettify the code
2021-12-01 18:18:58 +01:00
einarhauks a6ec646f98
Tesla wall connector config flow refactor continued (#60774) 2021-12-01 18:18:42 +01:00
epenet c7eaba45f4
Use dataclass properties in wilight discovery (#60748)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:07:12 +01:00
Daniel Hjelseth Høyer d60517d5f4
Use state and device class enum in Rfxtrx (#60773) 2021-12-01 18:06:13 +01:00
epenet 0c89c8a6b4
Use dataclass properties in synology_dsm discovery (#60740)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:04:00 +01:00
epenet aefd89d8f2
Use dataclass properties in tplink discovery (#60742)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 18:01:51 +01:00
epenet 4fa58b1ecb
Use dataclass properties in unifi discovery (#60743)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:54:40 +01:00
Daniel Hjelseth Høyer 30e573b694
Use state class enum in Mill (#60726) 2021-12-01 17:53:04 +01:00
epenet 64a4218a24
Use dataclass properties in squeezebox discovery (#60738)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:52:29 +01:00
epenet fa95146aa0
Use dataclass properties in songpal discovery (#60737)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:51:01 +01:00
epenet 2b4a1ee7eb
Use dataclass properties in flux_led discovery (#60696)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 06:47:14 -10:00
epenet 92b149fffe
Use dataclass properties in isy994 discovery (#60715)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 06:45:09 -10:00
epenet 3eba575fde
Use state class enum for Onewire (#60770)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:42:08 +01:00
epenet cd9962dfa0
Use device and state class enum for Renault (#60768)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:40:56 +01:00
Milan Meulemans b154f43657
Use device class enum in Rituals (#60767) 2021-12-01 17:34:30 +01:00
epenet 7363033ada
Use device class enum in Onewire (#60766)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 17:33:26 +01:00
Tom Brien 1268cefc38
Use state class enum for Coinbase (#60764) 2021-12-01 17:26:53 +01:00
Franck Nijhof c985bee1dd
Add sensor platform to Tailscale (#60751)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 17:05:44 +01:00
epenet 38153b015f
Enable warnings for DhcpServiceInfo (#60750)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:56:54 -10:00
epenet 683eb10f0e
Enable warnings for ZeroconfServiceInfo (#60759)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:55:36 -10:00
epenet 35c40bcf85
Enable warnings for UsbServiceInfo (#60757)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:44:01 -10:00
epenet fc3c9b1b4e
Use dataclass properties in samsungtv discovery (#60595)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 05:42:42 -10:00
einarhauks e7f00c2c4f
Refactor Tesla wall connector config flow (#60755) 2021-12-01 16:07:24 +01:00
epenet 76d906d17e
Use dataclass properties in roomba discovery (#60734)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 15:53:02 +01:00
epenet 00f71e5dfc
Use dataclass properties in screenlogic discovery (#60735)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 15:52:08 +01:00
Daniel Hjelseth Høyer ecf1bc1b22
Use state class enum in Tibber (#60729) 2021-12-01 15:50:35 +01:00
Franck Nijhof 6a8c732b37
Add Tailscale integration (#59764)
* Add Tailscale integration

* Use DeviceEntryType

* Fix tests

* Adjust to new Pylint version

* Use enums for device classes

* Update homeassistant/components/tailscale/config_flow.py

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

* Pass empty string as default

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 14:40:38 +01:00
epenet 59f87b9488
Use dataclass properties in netgear discovery (#60730)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:38:17 +01:00
epenet 16942fc8e9
Use dataclass properties in denonavr discovery (#60691)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:28:40 +01:00
epenet 6544b440d2
Use dataclass properties in fritz discovery (#60697)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:02:58 +01:00
epenet 0047790db6
Use dataclass properties in harmony discovery (#60711)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:02:11 +01:00
epenet 1edc0a0560
Use dataclass properties in huawei_lte discovery (#60713)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:01:21 +01:00
epenet 63ed0af644
Use dataclass properties in hyperion discovery (#60714)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 14:00:46 +01:00
epenet c7c2b810a7
Use dataclass properties in keenetic_ndms2 discovery (#60716)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 13:59:34 +01:00
epenet 2a1f0cadaa
Use dataclass properties in broadlink discovery (#60689)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 13:58:56 +01:00
Daniel Hjelseth Høyer 92e608ce04
Use state class enum in Airthings (#60728) 2021-12-01 13:57:54 +01:00
Daniel Hjelseth Høyer ddc17cb001
Use state class enum in Opengarage (#60727) 2021-12-01 13:57:23 +01:00
Franck Nijhof c28b45cd83
Migrate entity categories to StrEnum (#60720) 2021-12-01 13:54:36 +01:00
Paulus Schoutsen 72d8882c79
Handle errors response to be None (#60679)
Co-authored-by: Philip Allgaier <mail@spacegaier.de>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-01 13:51:10 +01:00
Matthias Alphart e5e1e7b7e0
Update pyfronius to 0.7.1 (#60722) 2021-12-01 13:30:25 +01:00
Oleksandr Kapshuk 95286791fe
Add tuya zndb device category (#59477) 2021-12-01 13:17:02 +01:00
Fredrik Erlandsson 2ba21d6bf3
Fix point device identifiers (#60719) 2021-12-01 12:48:06 +01:00
epenet 9a8c1cf6c4
Use dataclass properties in konnected discovery (#60717)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 12:30:36 +01:00
epenet cbab0ba9c0
Drop base ATTR constants in zeroconf (#60561)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 12:29:41 +01:00
Franck Nijhof 2ec49d4ffd
Migrate sensor state classes to StrEnum (#60709) 2021-12-01 12:09:31 +01:00
Franck Nijhof c6cbfe8c37
Migrate humidifier device classes to StrEnum (#60706)
Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
2021-12-01 12:02:14 +01:00
Raman Gupta eeafa36abc
Add SmartStart provisioning support to zwave_js WS API (#59037)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 11:43:51 +01:00
epenet 694f6d0abe
Use dataclass properties in heos discovery (#60712)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 11:38:46 +01:00
epenet 0782c6c446
Use dataclass properties in guardian discovery (#60710)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 11:33:40 +01:00
epenet 160e6febc3
Use dataclass properties in directv discovery (#60692)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 11:08:36 +01:00
epenet ad66522bce
Use dataclass properties in fritzbox discovery (#60698)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 11:07:10 +01:00
epenet 76e08aa93b
Use dataclass properties in goalzero discovery (#60703)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 11:06:38 +01:00
Daniel Hjelseth Høyer bcb2fefbe5
Use device class enum in Tibber (#60705) 2021-12-01 11:00:17 +01:00
Daniel Hjelseth Høyer 3e9c72df5c
Use device class enum in Airthings (#60704) 2021-12-01 10:59:24 +01:00
Daniel Hjelseth Høyer 38c2c879c9
Use device class enum in Open Garage (#60702) 2021-12-01 10:59:12 +01:00
Daniel Hjelseth Høyer 739ce9bc75
Use device class enum in Surepetcare (#60701) 2021-12-01 10:58:52 +01:00
Daniel Hjelseth Høyer ca55216d67
Use device class enum in Tractive (#60700) 2021-12-01 10:58:43 +01:00
Daniel Hjelseth Høyer 06f12fc583
Use device class enum in Mill (#60699) 2021-12-01 10:58:28 +01:00
Joakim Sørensen 49f3a7ce46
Use device class enum in Supervisor (#60687) 2021-12-01 10:55:30 +01:00
epenet 52112a25b0
Use dataclass properties in emonitor discovery (#60695)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-01 10:54:42 +01:00
Joakim Sørensen bbd179200c
Use device class enum in UptimeRobot (#60688) 2021-12-01 10:36:15 +01:00
Franck Nijhof 79ebc1b79a
Use device class enums in TwenteMilieu (#60686) 2021-12-01 10:25:26 +01:00
Franck Nijhof 6c7c7acdef
Use device class enums in Verisure (#60685) 2021-12-01 10:24:58 +01:00
Franck Nijhof 74f7f28f1c
Use device class enums in WLED (#60684) 2021-12-01 10:16:44 +01:00
epenet 73a4dba2ae
Use dataclass properties in yeelight discovery (#60640)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 22:28:19 -10:00
Kevin Worrel 8240b8c72e
Update screenlogic use asyncio API (#60466)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-11-30 22:19:01 -10:00
LJU 19361216de
Fix key reference placeholder (#60681)
Fix typo for placeholder invalid acces token
2021-11-30 23:38:38 -08:00
Franck Nijhof 2b8f245e27
Migrate binary sensor device classes to StrEnum (#60651) 2021-12-01 08:12:09 +01:00
Franck Nijhof 12ff5dee74
Migrate sensor device classes to StrEnum (#60654)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 08:09:55 +01:00
Teemu R 908b7ca9c2
Bump xiaomi_miio dependency (#60650) 2021-12-01 08:08:59 +01:00
Penny Wood 44714081d1
Update IZone to new version of library (#60676) 2021-12-01 07:41:52 +01:00
Franck Nijhof 3770a72601
Migrate media player device classes to StrEnum (#60656) 2021-12-01 07:25:10 +01:00
Franck Nijhof 9715601255
Add button device classes to NAM (#60621) 2021-12-01 07:08:17 +01:00
G Johansson 9efec244b9
Fix yale_smart_alarm strings (#60657) 2021-12-01 05:26:35 +01:00
Milan Meulemans c0021e5768
Upgrade aionanoleaf to 0.1.1 (#60670) 2021-11-30 17:32:57 -10:00
GitHub Action c9589f763c [ci skip] Translation update 2021-12-01 00:17:12 +00:00
Franck Nijhof 542aef2fe1
Migrate switch device classes to StrEnum (#60658) 2021-11-30 15:38:45 -08:00
Franck Nijhof 98ce12c6ee
Migrate cover device classes to StrEnum (#60655) 2021-11-30 15:37:34 -08:00
G Johansson 51ebfade52
Fix ADR 0003 issues in trafikverket_weatherstation (#60664)
* Fix ADR 0003 issues

* Remove commented code
2021-11-30 22:54:10 +01:00
Joakim Sørensen 28ebd13d75
Mark calendar as a base platform (#60660) 2021-11-30 21:28:33 +01:00
epenet 8954609f6b
Use dataclass properties in axis discovery (#60558)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:15:34 -10:00
Jesse Hills c2830b3e66
Fix fields being None for discord notify service (#59736)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-01 08:26:02 +13:00
Jesse Hills 8630022e92
Add mode to ESPHome numbers (#60653) 2021-11-30 20:19:14 +01:00
G Johansson 11b81ef88b
Config flow for trafikverket_weatherstation (#60078)
* First commit

* Added tests

* Add requirements for test

* Correction requirements tests

* Add init to untested files

* Fix review comments

* Resolve last items from review

* Add sync_abort_entries_match in import flow
2021-11-30 19:53:41 +01:00
Joakim Sørensen 153f15c93b
Remove running binary_sensor for HAOS (#60597) 2021-11-30 10:18:14 -08:00
Marcel van der Veldt 19b4cc7119
Hue handle device update (#60612) 2021-11-30 10:14:51 -08:00
jjlawren de9e48174f
Change unnecessary Sonos coroutine to callback (#60643) 2021-11-30 17:35:29 +01:00
epenet 97c04d2e67
Use dataclass properties in gogogate2 discovery (#60607)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 06:15:23 -10:00
epenet f444dd6d86
Use dataclass properties in sonos discovery (#60633)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 06:06:52 -10:00
epenet be89c07cac
Use dataclass properties in nanoleaf discovery (#60580)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 06:05:50 -10:00
Tim Rightnour 8a9f197918
Binary sensor platform for the Balboa Spa (#60409) 2021-11-30 06:04:24 -10:00
epenet 7295ab10ae
Use dataclass properties in doorbird discovery (#60639)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 06:03:21 -10:00
epenet ec923b877c
Use dataclass properties in rachio discovery (#60637)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 06:02:24 -10:00
epenet 071385e8d2
Use dataclass properties in tado discovery (#60641)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:44:11 +01:00
Dave T 0a1f73e3f7
Correct Temper USB sensor IoT class (#60619)
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-11-30 16:37:58 +01:00
epenet d75785d701
Use dataclass properties in hue discovery (#60598)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:36:35 +01:00
epenet 601ad8f71a
Use dataclass properties in xiaomi_aqara discovery (#60636)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:28:49 +01:00
epenet 30bb2c82c6
Use dataclass properties in freebox discovery (#60635)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:28:02 +01:00
Marc Mueller a90ef488a1
Add return type annotation to StrEnum (#60624) 2021-11-30 16:26:02 +01:00
epenet ad75c217ce
Use dataclass properties in kodi discovery (#60634)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:25:40 +01:00
epenet ffb9b4cd2d
Use dataclass properties in hunterdouglas discovery (#60605) 2021-11-30 05:16:30 -10:00
Allen Porter a84b12abe7
Revert "Add an entity service for saving nest event related snapshots" (#60632) 2021-11-30 16:16:00 +01:00
Jc2k b8a1899d48
Remove homekit_controller's air quality entity in favor of separate sensor entities (#60480) 2021-11-30 16:14:49 +01:00
Franck Nijhof 16462df451
Add button device classes to MQTT (#60628) 2021-11-30 16:08:02 +01:00
epenet 0d24862a28
Use dataclass properties in homekit_controller discovery (#60626)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 16:06:18 +01:00
epenet 3f22905709
Use dataclass properties in plugwise discovery (#60631)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 15:50:47 +01:00
epenet 6f22ffbedd
Use dataclass properties in enphase_envoy discovery (#60627)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 15:47:18 +01:00
Franck Nijhof 6be1b0c704
Add button device classes to Shelly (#60625) 2021-11-30 15:44:47 +01:00
Franck Nijhof 2366fbe846
Add button device classes to HomeKit Controller (#60620) 2021-11-30 15:21:26 +01:00
Jesse Hills 683bb13f50
Support unit of measurement in ESPHome numbers (#60591) 2021-11-30 15:20:40 +01:00
Franck Nijhof b5a6e03c21
Fix device class shorthand attr in ButtonEntity (#60622) 2021-11-30 15:06:33 +01:00
Jan Bouwhuis f07e676c82
Allow template int filter to render from a bytes based integer (#60452)
* Allow template int to render bytes

* re-triggering tests

* Add warning when base !=10 and rendering bytes

* re-trigger tests

* Re-trigger tests

* remove period

* Update homeassistant/helpers/template.py

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

* Fix logger syntax

* remove parentheses

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-11-30 15:01:43 +01:00
Jan Bouwhuis 2a2a20fcb3
Add mqtt sensor configurable state encoding for sensor and binary_sensor platform (#60447)
* Add mqtt sensor state encoding

* Make encoding attribute not specific to states

* Move encoding attribute to schema base
2021-11-30 14:04:24 +01:00
Franck Nijhof 7469f083fd
Migrate number mode to StrEnum (#60614) 2021-11-30 12:54:06 +01:00
Franck Nijhof 1b8eba0afd
Add button device classes to WLED (#60613) 2021-11-30 12:12:08 +01:00
Franck Nijhof 9b9801516b
Migrate button device classes to StrEnum (#60611) 2021-11-30 11:54:06 +01:00
Franck Nijhof 6e3f522d4b
Fix StrEnum backport return type issue (#60610) 2021-11-30 11:16:56 +01:00
Adam Chyb 56899d61fe
Add support for Kogan smart blinds to Tuya (#60552) 2021-11-30 11:07:44 +01:00
epenet ae9320b616
Use dataclass properties in tradfri discovery (#60592)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 11:05:42 +01:00
epenet 58661fa636
Use dataclass properties in devolo_home_network discovery (#60608)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 11:04:33 +01:00
epenet 416976dd39
Use dataclass properties in esphome discovery (#60606)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 11:03:08 +01:00
epenet f0df3e4646
Use dataclass properties in smappee discovery (#60602)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 11:01:28 +01:00
epenet ba1cc00c24
Use dataclass properties in shelly discovery (#60593)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 11:00:54 +01:00
epenet fb94ed4e6b
Use dataclass properties in bond discovery (#60590)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:58:06 +01:00
epenet d537ec1d6f
Use dataclass properties in bosch_shc discovery (#60559) 2021-11-30 10:57:37 +01:00
epenet 9b92787d59
Use dataclass properties in daikin discovery (#60589)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:55:52 +01:00
epenet 40a814221c
Use dataclass properties in forked_daapd discovery (#60587)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:55:32 +01:00
epenet 7182827818
Use dataclass properties in modern_forms discovery (#60584)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:18:25 +01:00
epenet efebd1b657
Use dataclass properties in nut discovery (#60603)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:17:49 +01:00
epenet 071296865b
Use dataclass properties in lookin discovery (#60585)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:16:06 +01:00
epenet 2f79760fb4
Use dataclass properties in guardian discovery (#60586)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:15:46 +01:00
epenet a32a748cec
Use dataclass properties in devolo_home_control discovery (#60600)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:08:55 +01:00
epenet 0bb44c042c
Use dataclass properties in brother discovery (#60601)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 10:07:58 +01:00
Franck Nijhof b996f624db
Ensure ESPHome device classes are valid (#60594) 2021-11-30 09:44:39 +01:00
epenet 5003a1515b
Use dataclass properties in nam discovery (#60596)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 09:36:41 +01:00
epenet 64afe738cc
Use dataclass properties in elgato discovery (#60588)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 08:53:03 +01:00
epenet d74145ed7b
Use dataclass properties in roku discovery (#60577)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 08:46:40 +01:00
epenet 9374ce87ba
Use dataclass properties in wled discovery (#60573)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 08:42:30 +01:00
epenet e0b315041b
Use dataclass properties in octoprint discovery (#60579)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-30 08:42:08 +01:00
Jesse Hills e17759410c
Esphome button device class (#60569) 2021-11-30 08:33:14 +01:00
Klaas Schoute 222da7e2d1
Add configuration_url to integration (#60565) 2021-11-30 08:32:02 +01:00
epenet bb92dd2467
Use dataclass properties in apple_tv discovery (#60557) 2021-11-30 08:31:25 +01:00
epenet 0e3a229a1f
Use dataclass properties in volumio discovery (#60575)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 21:13:48 -10:00
epenet b4d17e1fad
Use dataclass properties in system_bridge discovery (#60576)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 21:11:56 -10:00
epenet b40dc6c271
Use dataclass properties in rainmachine discovery (#60578)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 21:10:50 -10:00
Allen Porter c4e5242b0c
Add an entity service for saving nest event related snapshots (#58369)
* Add an entity service for saving nest event related snapshots

Add an entity service `nest.snapshot_event` for recording camera event
related media to disk. This is based on `camera.snapshot` but takes in
a parameter for a Nest API event_id.

PR #58299 adds `nest_event_id` to events published by nest so that they can
be hooked up to this service for capturing events.

Future related work includes:
- Height & Width parameters for the rendered image
- Support video clips for new battery cameras
- An API for proxying media related to events, separate from the camera image thumbnail
- A Nest MediaSource for browsing media related to events

* Revert debugging information

* Add test coverage for OSError failure case

* Add service description for nest snapshot service

* Reduce unnecessary diffs.

* Sort nest camera imports

* Remove unnecessary if block in snapshot
2021-11-29 23:04:29 -08:00
Allen Porter cc543b200d
Update `nest` config flow to dramatically simplify end user setup with automated pub/sub subscription creation (#59260)
* Configure nest pubsub subscriber automatically

Update the config flow to configure the nest pubsub subscriber automatically.
After completing the authentication step, the user is now asked for the google
cloud console ID, which is needed to create a subscription.

Home Assistant manages the lifecycle of a subscription only when it is created
by the ConfigFlow. Otherwise (if specified in configuration.yaml) it treats
it similarly as before.

These are the considerations or failure modes taken into account:
- Subscription is created with reasonable default values as previously recommended (e.g. retion only keeps 5-15 minutes of backlog messages)
- Subscriptions are created with a naming scheme that makes it clear they came from home assistant, and with a random
  string
- Subscriptions are cleaned up when the ConfigEntry is removed. If removal fails, a subscription that is orphaned will
  be deleted after 30 days
- If the subscription gets into a bad state or deleted, the user can go through the re-auth flow to re-create it.
- Users can still specifcy a CONF_SUBSCRIBER_ID in the configuration.yaml, and
skip automatic subscriber creation

* Remove unnecessary nest config flow diffs and merge in upstream changes

* Incorporate review feedback into nest subscription config flow

* Update text wording in nest config flow
2021-11-29 22:41:29 -08:00
Allen Porter 8ca89b10eb
Split StreamState class out of SegmentBuffer (#60423)
This refactoring was pulled out of https://github.com/home-assistant/core/pull/53676 as an
initial step towards reverting the addition of the SegmentBuffer class, which will be
unrolled back into a for loop.

The StreamState class holds the persistent state in stream that is used across stream worker
instantiations, e.g. state across a retry or url expiration, which primarily handles
discontinuities. By itself, this PR is not a large win until follow up PRs further simplify
the SegmentBuffer class.
2021-11-29 22:25:28 -08:00
epenet 890790a659
Use dataclass properties in arcam_fmj discovery (#60562) 2021-11-30 06:46:41 +01:00
Allen Porter df90fdf641
Add an available property on Stream (#60429) 2021-11-29 21:23:58 -08:00
J. Nick Koston f0f88d56bd
Avoid probing configured ipp devices at discovery (#60551)
- Each time these were seen by zeroconf, these devices were
  probed even if they were already configured. This is expensive
  and we want to avoid this when possible
2021-11-29 22:53:42 -06:00
Paulus Schoutsen 1bfd98ab14
Bump frontend to 20211129.0 (#60564) 2021-11-29 18:35:41 -08:00
David F. Mulcahey 2f24fc0fd4
Fix Flo returning stale data (#60491)
* Fix Flo returning stale data

* update tests

* update coverage
2021-11-29 20:00:39 -05:00
Franck Nijhof 9f26850a19
Add device class support for button entity (#60560) 2021-11-29 17:44:21 -07:00
GitHub Action a925451906 [ci skip] Translation update 2021-11-30 00:13:53 +00:00
Joakim Sørensen 8a5df5f7eb
Fix ingress for non admin (#60120) 2021-11-29 23:03:16 +01:00
Paulus Schoutsen 914f7f85ec
Add local only users (#57598) 2021-11-29 14:01:03 -08:00
Maciej Bieniek 847b10fa65
Add `button` platform to NAM integration (#60410) 2021-11-29 22:58:04 +01:00
Michael 8626de24fc
Use correct value for current temperature for AVM Fritz!Smarthome thermostat devices (#60510) 2021-11-29 19:58:22 +01:00
Michael 83acfda757
Add reboot button to Shelly devices (#60417) 2021-11-29 19:49:49 +01:00
Erik Montnemery 814a742518
Don't wait for Google Assistant service calls when reporting state (#59832)
* Don't wait for Google Assistant service calls when reporting state

* Update tests

* Add test
2021-11-29 18:34:38 +01:00
Erik Montnemery d980ca7e04
Correct recorder migration._add_columns for PostgreSQL (#60547) 2021-11-29 18:33:25 +01:00
epenet 54df81cbab
Use ZeroconfServiceInfo in vizio (#60115)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 18:27:15 +01:00
epenet 37430e7c9e
Add get method to ZeroconfServiceInfo (#60528)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 17:37:55 +01:00
Matthias Lohr 7b81185d2a
Add tolo fan platform (#60502) 2021-11-29 17:15:38 +01:00
epenet ec1c52d945
Use dataclass for SsdpServiceInfo (#59931)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 06:10:07 -10:00
einarhauks 7ece86ee8d
Add sensors to Tesla Wall Connector Integration (#60507) 2021-11-29 06:05:14 -10:00
Eugenio Panadero 923cb0f4b7
Bump aiopvpc to 2.2.4 to fix price sensor attributes for pvpc_hourly_pricing (#60012) 2021-11-29 16:57:32 +01:00
Kevin Stillhammer 6167e4178b
Use find_coordinates in here_travel_time (#59938) 2021-11-29 16:54:03 +01:00
PlusPlus-ua 2be7773f5e
Add Tuya Fingerbot device support (#59880) 2021-11-29 16:52:15 +01:00
alexanv1 9aa33a3cf8
Fix brightness support for Tuya dimmers that use the Light ("dj") category (#60385)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-11-29 16:45:00 +01:00
Maikel Punie f18fe342ac
Remove configuration.yaml support for the velbus component (#60411) 2021-11-29 16:33:26 +01:00
Steffen Zimmermann c407e24a18
Add wiffi device configuration url support (#60367) 2021-11-29 16:29:31 +01:00
Simone Chemelli 07c09ab268
Add new name handling for Shelly RPC devices (#60539) 2021-11-29 16:16:49 +01:00
epenet 0f2e39adee
Add get method to DhcpServiceInfo (#60527)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-11-29 05:11:36 -10:00
jjlawren a88cc8b98c
Move Sonos bass & treble controls to number entities (#60498) 2021-11-29 16:00:37 +01:00
Franck Nijhof 3aa35e15c2
Remove custom WLED services (#60537) 2021-11-29 15:15:50 +01:00
rianadon 09af85c6a4
Add native unit types for weather entities (#59533)
* Add native unit types for weather entities

* Update weatherentity and change precision in climacell test

* Move weather test to demo tests

* Add weather test for temperature conversion

* Add more unit conversion tests

* Remove extra native_ methods

* Remove extra properties and save precision change for another PR

* Remove visibility_unit from metoffice component

The vibility values given by metoffice are formatted into strings,
which means they can't automatically be converted.

* Improve docstrings and convert pressures in forecast

* Add precipitation and wind speed units

* Clean up tests

* Round converted weather values

* Round weather values to 2 decimal places

* Move number of rounding decimal places to constant

* Docstring and styles
2021-11-29 14:44:44 +01:00
Franck Nijhof 5a97db6685
Upgrade wled to 0.10.1 (#60542) 2021-11-29 14:43:02 +01:00
Raphaël Beamonte 8600b5597a
Add 'trigger' support for MQTT Alarm Control Panel (#60525)
When configuring an Alarm Control Panel through MQTT discovery, it
was not possible to use the trigger service. This fixes that by making
it available the same way as ARM and DISARM services are.
2021-11-29 14:41:52 +01:00
Franck Nijhof 4cff04cbd5
Remove obsolete light attributes from WLED (#60535) 2021-11-29 11:32:30 +01:00
Jesse Hills dd001cacfd
Fix missing name for ESPHome reauth dialog (#60508) 2021-11-29 10:06:56 +01:00
Allen Porter 5e86c78c46
Redact ?auth= url parameters in stream sources when logged (#60438) 2021-11-29 09:59:01 +01:00
Jesse Hills 622d9606a5
Esphome/button (#60522) 2021-11-29 09:57:37 +01:00
Ville Skyttä e5718ccac4
Add removal versions and backcompat constants for device registry enum changes (#60421) 2021-11-29 09:47:14 +01:00