Commit Graph

34245 Commits (71cb42f53afcf13d1ad2498f3e8c6a177af7e2f7)

Author SHA1 Message Date
Mick Vleeshouwer 41c497ee6e
Add binary sensor entity to Overkiz integration (#62913) 2021-12-27 23:10:39 -10:00
Phil Cole 68acf13f48
Add basic type hints to nissan_leaf (#62904) 2021-12-28 08:56:07 +01:00
Franck Nijhof d63b7bc5f1
Extract attribute into sensor for PVOutput (#62894) 2021-12-28 08:33:40 +01:00
GitHub Action 4745e2fb3b [ci skip] Translation update 2021-12-28 00:14:11 +00:00
Mick Vleeshouwer 0bcb0a6267
Add scene entity to Overkiz integration (#62884) 2021-12-27 13:57:19 -10:00
epenet cb135bc889
Add basic type hints to xiaomi_miio (#62889)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 00:15:40 +01:00
epenet de64622f3b
Ensure service calls are typed [a-d] (#62891)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-28 00:14:20 +01:00
epenet 942f58593b
Add type hint to adguard service calls (#62893)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-27 23:55:46 +01:00
epenet e01b0a3625
Add setup type hints to sonos, unifi and wake_on_lan (#62876)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-27 23:42:24 +01:00
Franck Nijhof cee0440ab6
Add unique ID to PVOutput entities (#62890) 2021-12-27 23:14:43 +01:00
Pascal Reeb 1af3177466
Fix unique_id of nuki config entry (#62840)
* fix(nuki): fixed naming of nuki integration

* parse_id function

* migration path

* fixes from ci runs

* don't update title if it was changed

* move to dedicated helper

* use dict of params

* Update homeassistant/components/nuki/__init__.py

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 23:02:48 +01:00
Franck Nijhof 53fdcf1b6a
Add basic support for EntityDescription in PVOutput (#62887) 2021-12-27 23:01:00 +01:00
Franck Nijhof 16e9ea6ac7
Slightly improve Open-Meteo configuration flow (#62869) 2021-12-27 22:58:31 +01:00
Thomas Schamm 40aa852a57
Fix missing power and energy sensors for light switches in bosch_shc (#62802) 2021-12-27 22:54:23 +01:00
Franck Nijhof af3d52a3e0
Add myself as codeowner for Luftdaten (#62888) 2021-12-27 22:51:31 +01:00
Mick Vleeshouwer b9ce82f79c
Add unique id to DHCP step in Config Flow for Overkiz (#62847) 2021-12-27 11:28:18 -10:00
Franck Nijhof 1cfeb404b6
Add configuration flow to PVOutput (#62667)
* Add configuration flow to PVOutput

* Update homeassistant/components/pvoutput/sensor.py

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

* Update homeassistant/components/pvoutput/sensor.py

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

* Use account URL placeholder

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 22:05:10 +01:00
Bram Kragten 6b0f2aa13f
Update frontend to 20211227.0 (#62874) 2021-12-27 21:37:21 +01:00
Florent Thoumie 3c2d5d5f8c
Update to iaqualink 0.4.1 (#53745)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-27 10:20:55 -10:00
Franck Nijhof 5824477298
Update tuya-iot-py-sdk to 0.6.6 (#62858) 2021-12-27 20:58:33 +01:00
htmltiger de2adce1ca
Fix TypeError of vacuum battery level None (#62722)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-27 20:55:43 +01:00
Amos Yuen 45ab9a3e33
Init template trigger binary sensor to None instead of False (#62769) 2021-12-27 20:52:26 +01:00
Allen Porter 17fbfe2eed
Set a suggested_area on nest devices based on the Google Home room name (#62871) 2021-12-27 11:39:57 -08:00
corneyl 7fc5605639
Fix keyerror when no previous Picnic orders exist (#62870) 2021-12-27 20:31:35 +01:00
Alberto Geniola 1f425b1942
Improve Elmax code quality (#61273)
Co-authored-by: Marvin Wichmann <marvin@fam-wichmann.de>
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 19:50:43 +01:00
G Johansson 0d957ad93b
Code improvements Sensibo (#62810) 2021-12-27 08:34:00 -10:00
Mick Vleeshouwer 089dcb2b22
Address feedback to Overkiz integration (#62841) 2021-12-27 18:26:55 +01:00
Dave T 8fd60dbd51
Refactor entity_category str types (#62790) 2021-12-27 18:23:08 +01:00
epenet 377b0efc60
Add basic type hints to ffmpeg (#62744)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-27 17:56:13 +01:00
Tobias Sauerwein 2c904c0974
Bump mypy to 0.930 (#62642)
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
2021-12-27 17:55:17 +01:00
corneyl b0704c190f
Fix picnic sensor time unit (#62437) 2021-12-27 17:44:45 +01:00
Christopher Bailey dc3f21dd1e
Followup PR for UniFi Protect integration (#62806)
* Followup improvements from initial PR

* Update tests/components/unifiprotect/conftest.py

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

* Update translations

* Fixes log message

* Fixes log message

* Unknown to cannot connect

* Update tests/components/unifiprotect/test_config_flow.py

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

* Fixes camera coverage

Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 12:39:24 +01:00
Mick Vleeshouwer cf6fb7bf39
Add light entity to Overkiz integration (#62835) 2021-12-27 12:35:59 +01:00
gjong 35bb19b4eb
Upgrade youless library to version 0.16 (#62837) 2021-12-27 12:32:25 +01:00
kpine 22e475790f
Avoid removing zwave_js devices for non-ready nodes (#59964)
* Only replace a node if the mfgr id / prod id / prod type differ

* Prefer original device name for unready node

* move register_node_in_dev_reg into async_setup_entry

* simplify get_device_id_ext

* Don't need hex ids

* Revert "move register_node_in_dev_reg into async_setup_entry"

This reverts commit f900e5fb0c67cc81657a1452b51c313bccb6f9e1.

* Revert Callable change

* Revert device backup name

* Add test fixtures

* Update existing not ready test with new fixture data

* Check device properties after node added event

* Add entity check

* Check for extended device id

* better device info checks

* Use receive_event to properly setup components

* Cleanup tests

* improve test_replace_different_node

* improve test_replace_same_node

* add test test_node_model_change

* Clean up long comments and strings

* Format

* Reload integration to detect node device config changes

* update assertions

* Disable entities on "value removed" event

* Disable node status sensor on node replacement

* Add test for disabling entities on remove value event

* Add test for disabling node status sensor on node replacement

* disable entity -> remove entity

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-27 12:31:31 +01:00
Kristján Bjarni 38723b277e
Added XML RSS as Content-Type (#62822) 2021-12-27 10:49:38 +01:00
Phil Cole a17fffbfc2
Update to pycarwings 2.13 (#62821) 2021-12-27 10:42:00 +01:00
J. Nick Koston 7a46e04fd1
Remove unused homekit.start service (#62827) 2021-12-27 10:12:02 +01:00
Michael a721927b9a
Use ConfigEntryDisabler enum (#62816) 2021-12-27 10:08:29 +01:00
J. Nick Koston 417172eef2
Cleanup HomeKit names to avoid unknown error when adding (#62831) 2021-12-27 09:53:33 +01:00
flfue a3e526d6cf
Add return for certified devices to not apply availability check (#62728) 2021-12-26 23:31:51 -08:00
GitHub Action e00406c7b8 [ci skip] Translation update 2021-12-27 00:40:55 +00:00
Ville Skyttä 6f1675944e
Add huawei_lte hardware version (#62773) 2021-12-26 10:36:00 -10:00
Simone Chemelli c07077833f
Add missing entity category for gen2 devices (#62812) 2021-12-26 22:26:24 +02:00
Thomas Schamm 746aa948bb
Bumped boschshcpy 0.2.27 to 0.2.28 (#62778) 2021-12-26 07:53:40 -10:00
uvjustin 08a3140e6c
Allow generic camera conf without still_image_url (#62611)
* Allow generic config with no CONF_STILL_IMAGE_URL
* Use Stream.async_get_image when no CONF_STILL_IMAGE_URL
* Remove GenericCamera.camera_image
2021-12-26 15:53:14 +08:00
Ville Skyttä 3e3fb52dfa
Huawei LTE simplifications (#62770)
* Use enum types rather than strs in sensor type hints

* Name sensor meta fields same as in SensorEntityDescription

* Make integration shared state a NamedTuple

* Use dataclasses instead of attr
2021-12-26 09:17:59 +02:00
Christopher Bailey e982e7403a
Add unifiprotect integration (#62697)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-25 20:12:57 -10:00
Allen Porter c54439ef42
Bump google-nest-sdm to 1.0.0 (#62783)
* Bump google-nest-sdm to 1.0.0

See release log in https://github.com/allenporter/python-google-nest-sdm/compare/0.4.9...1.0.0

* Remove typing ignore now that typing is fixed
2021-12-25 21:47:45 -08:00
GitHub Action cc92aa557a [ci skip] Translation update 2021-12-26 00:15:41 +00:00
Franck Nijhof 7d7f5272fe
Add device info to Luftdaten (#62692) 2021-12-25 10:52:31 +01:00
Raman Gupta 639181108f
Add zwave_js support for Fortrezz SSA3 (#62765) 2021-12-25 10:33:20 +01:00
GitHub Action 8c8c7e91a2 [ci skip] Translation update 2021-12-25 00:13:29 +00:00
David F. Mulcahey 0062676f61
Add lqi and rssi sensors back to ZHA (#62716)
* update device list

* Only 1 identify button per device

* Add LQI and RSSI sensors to ZHA

* refactor entity creation filter

* update device list and update discover test

* fix reference

* code reduction

* walrus

* parens

* simplify
2021-12-24 16:48:02 -05:00
Evgeny 64d1a7382f
Bump roombapy to 1.6.4 (#62741) 2021-12-24 10:34:49 -10:00
Eric Severance a1be11a492
Store wemo device sw_version & upnp connections (#62758) 2021-12-24 10:31:42 -10:00
Mick Vleeshouwer c37077aa9b
Add number entity to Overkiz integration (#62732) 2021-12-24 10:29:51 -10:00
uvjustin 9dbba6b7f2
Use lock in Camera.create_stream (#62757)
Rename create_stream to async_create_stream in Camera
Rename get_image to async_get_image in Stream
Rename get_image to async_get_image in KeyFrameConverter
2021-12-25 04:14:43 +08:00
Franck Nijhof 78cc5f8d43
Upgrade vehicle to 0.3.1 (#62747) 2021-12-24 19:59:37 +01:00
Lorenzo Brescanzin 0da710c4e0
Fix HomeKit sensor update check (#62705) 2021-12-24 08:39:37 -10:00
epenet 6ffd587788
Add basic type hints to ads (#62738)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 14:25:10 +01:00
epenet 6dcec898c4
Add basic type hints to abode (#62730)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 14:06:14 +01:00
epenet 3e567959f7
Add basic type hints to advantage_air (#62737)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-24 13:45:42 +01:00
J. Nick Koston 1d0036b86a
Bump zeroconf to 0.38.1 (#62720) 2021-12-24 13:26:07 +01:00
Brian Egge 27e3a5ba83
Generic thermostat presets (#56080)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-23 14:29:29 -10:00
Mick Vleeshouwer fb04b19960
Add button entity to Overkiz integration (#62719) 2021-12-23 14:21:47 -10:00
GitHub Action f07030c425 [ci skip] Translation update 2021-12-24 00:13:45 +00:00
Mick Vleeshouwer f722931920
Add lock entity to Overkiz integration (#62713) 2021-12-23 13:28:01 -10:00
David F. Mulcahey 41531b528e
Add identify buttons to ZHA devices (#61495)
* Identify buttons

* clean up and add test

* use Platform

* update device list

* Only 1 identify button per device

* cleanup press until the need arises for the branch

* make imports relative
2021-12-23 17:52:42 -05:00
ollo69 bbebf311b1
Review AndroidTV option flow strings (#62601)
Co-authored-by: Jeff Irion <JeffLIrion@users.noreply.github.com>
2021-12-23 12:43:30 -10:00
J. Nick Koston 20e6b50003
Bump yalexs to 1.1.16 (#62700) 2021-12-23 21:08:38 +01:00
Joakim Sørensen 13e3ca6ab1
Add config flow to version integration (#54642) 2021-12-23 21:04:58 +01:00
G Johansson 0ec2978698
Add DeviceInfo to Sensibo (#62668) 2021-12-23 21:02:24 +01:00
Ruslan Sayfutdinov 55f4962c06
Fix pylint plugin which checks relative imports (#62693) 2021-12-23 11:14:47 -08:00
jjlawren 00307e1ade
Bump soco to 0.25.2 (#62691) 2021-12-23 11:07:29 -08:00
Ed Coen df6fa43bff
Add connectsense to homekit_controller (#62675) 2021-12-23 19:05:36 +00:00
Mick Vleeshouwer 3605c4f32f
Add Overkiz integration (with base + sensor entity) (#62640) 2021-12-23 08:34:35 -10:00
Eugenio Panadero f422dd418b
Fix pvpc_hourly_pricing by changing data source and modernise integration (#62591) 2021-12-23 17:08:40 +01:00
Erik Montnemery c1ada1754f
Reject MQTT cover discovery using unsupported tilt_invert_state (#62680) 2021-12-23 17:05:52 +01:00
Marcel van der Veldt c79f13429c
Fix Hue docstring (#62684) 2021-12-23 16:41:22 +01:00
Mick Vleeshouwer c3917fc250
Remove TaHoma integration (#62607) 2021-12-23 16:17:51 +01:00
Franck Nijhof 40f1d53475
Add sensor tests to Luftdaten (#62663) 2021-12-23 15:46:17 +01:00
Marcel van der Veldt 430cc6194b
Never use availability workaround for certified Hue devices (#62676) 2021-12-23 15:35:57 +01:00
epenet dff9767da5
Use SensorDeviceClass in thermoworks_smoke (#62637) 2021-12-23 15:17:40 +01:00
Christian Manivong 772428e70f
Round Hue transition to steps of 100ms (#62619)
* Adding round() to transition before firing turn_on, turn_off #62608
2021-12-23 15:08:24 +01:00
Marcus Lönnberg 1bbeaa722c
Support Tuya cover with operation mach_operate (#62650) 2021-12-23 15:07:23 +01:00
J. Nick Koston 540ae4d10e
Update flux_led dhcp matching for older devices (#62577) 2021-12-23 14:32:57 +01:00
Robert Hillis 66fd7de34a
Remove deprecated yaml config from Syncthru (#62541) 2021-12-23 14:31:28 +01:00
Marcel van der Veldt eb37668036
Fix Hue button events (#62669) 2021-12-23 14:24:37 +01:00
Marcel van der Veldt 8e759bb267
Adjust Hue retry logic to changes in the aiohue library (#62665) 2021-12-23 14:04:10 +01:00
Marcel van der Veldt aa9746808e
Bump aiohue to 3.0.10 (#62664) 2021-12-23 12:18:53 +01:00
G Johansson b6682b3089
Correct extra attributes trafikverket_train (#62636) 2021-12-23 11:35:01 +01:00
Tom Brien fa7739937d
Provide clearer feedback in Coinbase when authentication fails (#62627) 2021-12-23 10:52:22 +01:00
Erik Montnemery 8e8e49d3e7
Add sensor device classes for apparent and reactive power (#62010) 2021-12-23 10:29:38 +01:00
Marcel van der Veldt 247c220882
Bump aiohue to 3.0.9 (#62658) 2021-12-23 10:14:07 +01:00
Erik Montnemery cb2c2d98c3
Remove unnecessary checks before calling os.makedirs (#62576) 2021-12-23 09:59:31 +01:00
Paulus Schoutsen 1edfa2d426
Bump aiohue to 3.0.8 (#62651) 2021-12-22 23:17:04 -08:00
Eduard van Valkenburg 259e454c3e
Azure Event Hub code improvements (#62584)
* code improvements to AEH

* moved hub back
2021-12-23 07:52:44 +01:00
Andre Richter e9c69682c7
Fix broken Vallox integration in 2021.12 (#62308) 2021-12-22 22:48:31 -08:00
Franck Nijhof dc47cbd01b
Add input_button support to Google Assistant (#62593) 2021-12-23 07:38:35 +01:00
Franck Nijhof 99b2161365
Add input_button support to Alexa (#62592) 2021-12-23 07:36:45 +01:00
Allen Porter 23277181ca
Increase test coverage for google calendar (#62648)
* Increase test coverage for google calendar

Update tests to exercise the API responses, getting test coverage
to 97% for calendar.py

----------- coverage: platform linux, python 3.9.6-final-0 -----------
Name                                          Stmts   Miss  Cover   Missing
---------------------------------------------------------------------------
homeassistant/components/google/__init__.py     193     84    56%   92, 163-228, 238, 244-247, 254-262, 274, 298-299, 305-347, 387-392, 416-430, 435-437
homeassistant/components/google/calendar.py     122      4    97%   41, 45, 51, 135
---------------------------------------------------------------------------
TOTAL                                           315     88    72%

* Revert conftest changes

* Update typing errors found on CI

* Update python3.8 typing imports

* Remove commented out code
2021-12-23 07:31:56 +01:00
Franck Nijhof 6ef7539a31
Add base integration tests to Luftdaten (#62594) 2021-12-23 07:25:26 +01:00
J. Nick Koston ef5e5c3f96
Dismiss existing discoveries when a HomeKit device is paired (#62632) 2021-12-22 19:40:36 -10:00
Franck Nijhof 79627526c7
Add strict typing to PVOutput (#62628) 2021-12-23 06:25:05 +01:00
shbatm 36c7521508
Bump PyISY to v3.0.1 (#62646) 2021-12-22 21:22:27 -07:00
GitHub Action 87d4420a72 [ci skip] Translation update 2021-12-23 00:14:21 +00:00
Franck Nijhof c5d62ccc7e
Add input_button support to HomeKit (#62590) 2021-12-22 13:23:57 -10:00
Steven Looman cb82169e92
Bump async-upnp-client to 0.23.2 (#62634) 2021-12-22 13:23:22 -10:00
epenet cd452552af
Use relative imports in sensor (#62638) 2021-12-22 13:22:15 -10:00
Joakim Plate bda1f02371
Reduce boilerplate code in entry init of rfxtrx (#58844)
* Reduce boilerplate code for rfxtrx

* Use rfxtrx built in to construct event

* Fixup mypy after rebase

* Also fix callable import
2021-12-22 22:38:55 +01:00
J. Nick Koston 91a8b1e7b3
Speed up connecting to legacy flux_led devices (#62614) 2021-12-22 22:27:03 +01:00
Robert Hillis e593377fba
Add deprecation warning to switchbot yaml config (#62583)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-22 22:17:53 +01:00
Tom Harris 8750fd14cc
Improve Insteon responsiveness (#62612) 2021-12-22 21:44:37 +01:00
G Johansson 566f631933
Implement config_Flow for Sensibo (#60900)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-22 10:32:50 -10:00
G Johansson 0e48a658f3
Fix timezone trafikverket_train (#62582)
* Bugfix trafikverket train

* Change from pytz to hass function

* Fix datetime in extra attributes

* Fix time timezone

* Reset changes extra attributes
2021-12-22 21:28:18 +01:00
Thomas Dietrich 0b8cf47613
Add secondary codeowner to statistics integration (#62622) 2021-12-22 10:22:57 -10:00
J. Nick Koston 4954f3c73f
Bump flux_led to 0.27.13 to fix discovery of legacy devices (#62613)
- The 2013/2014 devices have yet another format for
  the version
2021-12-22 22:18:52 +02:00
Franck Nijhof e3f7d9a803
Extract PVOutput logic into PyPi package (#62625) 2021-12-22 21:17:23 +01:00
Simone Chemelli 51a49f3d39
Fix missing exception handling from upstream lib in Fritz (#62617)
* Fix missing exception handling from upstream lib

* isort
2021-12-22 20:59:56 +01:00
René Klomp d1c0e60bf1
Bump pysma to 0.6.10 (#62599) 2021-12-22 21:57:35 +02:00
Jc2k 06eec7adfc
Allow adding new devices to an Aqara hub via homekit_controller (#62600) 2021-12-22 08:49:58 -10:00
uvjustin 6e13605cad
Add get_image method to Stream (#61918)
* Add get_image method to Stream

* Add KeyFrameConverter class
2021-12-23 00:24:53 +08:00
Erik Montnemery eda9291ca1
Improve google cast state reporting (#62587) 2021-12-22 14:54:36 +01:00
J. Nick Koston c2b44c5fdc
Bump flux_led to 0.27.12 to fix legacy cct controllers (#62573) 2021-12-22 14:35:48 +01:00
Erik Montnemery 2f8e65a9b0
Store deleted duplicated statistics in .storage (#62574) 2021-12-22 14:27:56 +01:00
Franck Nijhof 496165711d
Improve config flow Luftdaten (#62589)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-22 13:00:51 +01:00
Simone Chemelli 925e4998b4
Fix missing object assignment for Fritz (#62575) 2021-12-22 12:59:54 +01:00
rikroe 986b60e527
Replace charging_time_remaining with charging_end_time in bmw_connected_drive (#60942)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-22 12:52:01 +01:00
rikroe f40870b4d7
Round imperial values to two decimals in bmw_connected_drive (#62531)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-22 12:27:36 +01:00
ShadowBr0ther 89526fe86c
Fix repetier crash when printer is offline (#62490) 2021-12-22 12:26:23 +01:00
Franck Nijhof 60b2cdd069
Allow binary sensor state to be None (#60193) 2021-12-22 12:24:29 +01:00
Franck Nijhof 4805b67300
Add strict typing to Luftdaten (#62588) 2021-12-22 12:20:35 +01:00
Erik Montnemery 3323263c94
Flip behavior for grouped locks (#62580) 2021-12-22 12:14:45 +01:00
Franck Nijhof 66185f8247
Add state class support to Luftdaten (#62585) 2021-12-22 12:04:31 +01:00
Robert Hillis ee878513a7
Remove deprecated yaml config from squeezebox (#62537) 2021-12-22 12:03:31 +01:00
Jc2k d3d6965ba0
Support setting Aqara Hub Volume via homekit_controller (#62538) 2021-12-22 08:43:17 +00:00
Eduard van Valkenburg 6806b8b116
Change Brunt cover device class (#62578) 2021-12-22 09:39:59 +01:00
schmyd f135d77a27
Fix deconz light service parameter handling (#62128)
* Only check presence of values, not their content

* Add tests

* Revert "Only check presence of values, not their content"

This reverts commit 046f0ed5fd.

* Validate existence of keys, not their values

* Properly handle cases of missing keys
2021-12-22 09:29:54 +01:00
Paulus Schoutsen 5580e87253
Add correct callback annotation in configurator (#62569) 2021-12-22 09:09:31 +01:00
Allen Porter 14e4216e29
Put access to ffmpeg hass.data behind a method (#62570)
* Put access to ffmpeg hass.data behind a method

Move all callers of `hass.data[DATA_FFMPEG]` to a new function that returns the FFMpegManager.

* Update homeassistant/components/ffmpeg/__init__.py

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

* Remove unnecessary async_ prefix

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2021-12-21 23:40:43 -08:00
Allen Porter bf108b9d0d
Update nest mac addresses based on newer generation hardware (#62525)
Add nest mac addresses for cameras and doorbell devices added
in the last few years.

This is in perparation for improving nest discovery, which
currently does not work great because it requires configuration.yaml
2021-12-21 22:38:25 -06:00
Aaron Bach a2be1a4402
Bump pytile to 2021.12.0 (#62559) 2021-12-21 20:36:37 -08:00
Marvin Wichmann 42c7f1dd1f
Update xknx to version 0.18.15 (#62557) 2021-12-21 20:36:27 -08:00
jjlawren 4475e88707
Fix Sonos updating when entities are disabled (#62456)
Co-authored-by: J. Nick Koston <nick@koston.org>
2021-12-21 20:36:12 -08:00
GitHub Action cceedf766a [ci skip] Translation update 2021-12-22 00:14:51 +00:00
Robert Hillis 1279592a98
Remove deprecated yaml config from vlc_telnet (#62542) 2021-12-21 23:37:46 +01:00
Franck Nijhof 82013e68fb
Implement DataUpdateCoordinator in luftdaten (#62313)
* Implement DataUpdateCoordinator in luftdaten

* Typing additions/fixes

* Update homeassistant/components/luftdaten/sensor.py

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>

Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2021-12-21 22:51:47 +01:00
J. Nick Koston fddbecd2bf
Fix backwards vol.Coerce order in flux_led (#62509)
* Fix backwards vol.Coerce order in flux_led

- reference: https://github.com/home-assistant/core/pull/62429#discussion_r773045507

* fix a few more after updating head

* cleanup extra comma
2021-12-21 22:14:44 +01:00
Angelo Gagliano 600db0794d
Require RPi.GPIO and bump adafruit-circuitpython-dht to 3.7.0 in dht (#61751) 2021-12-21 22:09:28 +01:00
jjlawren cc6228f5c9
Bump soco to 0.25.1 (#62523) 2021-12-21 21:14:44 +01:00
Ville Skyttä 9b437ef146
Remaining DeviceAutomationType bits (#62508)
* Use DeviceAutomationType in missed tests/components/*

* Tighten device automation type hints
2021-12-21 20:05:48 +02:00
micha91 0540c9455d
Use EntityCategory enum for MusicCast entity types (#62303) 2021-12-21 18:56:13 +01:00
Franck Nijhof eb292fbfbd
Deprecate BeagleBone Black GPIO integration (ADR-0019) (#62492) 2021-12-21 17:53:42 +01:00
Franck Nijhof 07e034c1c6
Add iif (immediate if) template function/filter (#61428) 2021-12-21 17:25:07 +01:00
Franck Nijhof 0e9282a404
Deprecate pi4ioe5v9xxxx integration (ADR-0019) (#62491) 2021-12-21 17:23:02 +01:00
Erik Montnemery 6151bbe5c8
Improve debug log when warning about a dip in total_increasing sensor (#62501) 2021-12-21 17:22:40 +01:00
Erik Montnemery e48f567176
Wrap shorthand template conditions during schema validation (#62485) 2021-12-21 17:20:15 +01:00
Franck Nijhof 6d1c4a4f5f
Deprecate BH1750 integration (ADR-0019) (#62493) 2021-12-21 17:17:58 +01:00
Franck Nijhof cdc3dcc1e6
Deprecate DHT Sensor integration (ADR-0019) (#62495) 2021-12-21 17:16:21 +01:00
Franck Nijhof e8c972c55d
Deprecate Sensirion SHT31 integration (ADR-0019) (#62496) 2021-12-21 17:13:53 +01:00
Erik Montnemery 48b3d6e1c0
Save original + duplicate pairs when deleting duplicated statistics (#62498) 2021-12-21 15:24:36 +01:00
Erik Montnemery cab2a74b5f
Don't pollute config dir with deleted duplicated statistics (#62489) 2021-12-21 14:27:35 +01:00
Erik Montnemery 684c380ce2
Use SensorDeviceClass enum in sensor device automations (#62480) 2021-12-21 14:07:01 +01:00
Franck Nijhof 69ba04be3c
Deprecate pcal9535a integration (ADR-0019) (#62487) 2021-12-21 13:24:08 +01:00
Franck Nijhof 6cdd341465
Deprecate mcp23017 integration (ADR-0019) (#62484) 2021-12-21 13:03:29 +01:00
Franck Nijhof e62148b8ff
Remove deprecated YAML configuration from Stookalert (#61007) 2021-12-21 12:53:19 +01:00
Franck Nijhof eb5a321a9f
Mark removed config schemas as removed (#61014) 2021-12-21 12:46:10 +01:00
Erik Montnemery e2fca2e305
Support shorthand templates in condition actions (#61177)
* Support shorthand templates in condition actions

* Fix validation message

* Fix tests
2021-12-21 12:19:31 +01:00
J. Nick Koston 4b30c9631f
Add set_music_mode service to flux_led for detailed music mode control (#62429) 2021-12-21 12:09:41 +01:00
Jonathan Keslin eb897c6f48
Add device registry information to Blink entities (#62449) 2021-12-21 12:06:08 +01:00
Robert Hillis ed9e17aeec
Clean up ssdp flow in dlna_dmr (#62466) 2021-12-21 12:02:21 +01:00
GJH 83f3666aa8
Add USB discover for Sonoff zigbee dongle plus (#62171) 2021-12-21 11:59:57 +01:00
Brynley McDonald 26dc526234
Add slugify as a template filter (#58724) 2021-12-21 11:35:54 +01:00
J. Nick Koston e0ef066022
Remove legacy migration and yaml from tplink (#62457)
- tplink has been fully migrated to a config flow in previous
  versions.
2021-12-21 11:24:32 +01:00
Robert Hillis a9c45fdcc0
Remove deprecated yaml config from philips_js (#62471) 2021-12-21 11:11:25 +01:00
Petru Paler 71852fd7a8
Update Solax library to 0.2.9 (#62464) 2021-12-21 11:06:44 +01:00
Robert Hillis 101341f186
Remove deprecated yaml config from google travel time (#62468) 2021-12-21 11:00:11 +01:00
Robert Hillis d1980e7351
Remove deprecated yaml config from honeywell (#62469) 2021-12-21 10:53:07 +01:00
Mark Zachmann 64e3383b72
Use on_level when turning an Insteon dimmer on (#62321)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2021-12-21 10:37:29 +01:00
Franck Nijhof 7cdfc7558e
Cleanup stale setup/import from Nuki (#62476)
* Cleanup stale setup/import from Nuki

* Adjust tests
2021-12-21 10:31:41 +01:00
Robert Hillis d73081f875
Remove deprecated yaml config from nuki (#62470) 2021-12-21 10:01:43 +01:00
Eric Severance d60540d4f5
Cast types in wemo rather than converting (#62454) 2021-12-20 22:34:34 -06:00
J. Nick Koston a7cae02725
Add support for changing Magic Home socket power restore state (#62301) 2021-12-20 20:35:50 -06:00
GitHub Action babd753610 [ci skip] Translation update 2021-12-21 00:15:06 +00:00
Marcel van der Veldt 92454e3ac8
Change Hue availability blacklist logic a bit (#62446) 2021-12-20 16:09:14 -08:00
rikroe aaac1d4c5a
Bump bimmer_connected to 0.8.7 (#62435)
Co-authored-by: rikroe <rikroe@users.noreply.github.com>
2021-12-20 23:25:26 +01:00
Marcel van der Veldt d22012ac43
bump aiohue to 3.0.7 (#62444) 2021-12-20 13:45:38 -08:00
epenet b483754ad3
Use new enums in sma (#62439)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 22:30:22 +01:00
epenet ce93364a36
Use new enums in zwave_js (#62432)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 15:18:15 -05:00
epenet bd63b707fc
Use attr** in tellstick sensor (#62422)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:17:37 +01:00
epenet 4176cb15f6
Use new enums in tado (#62423)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:16:12 +01:00
epenet 369041e0d2
Use new enums in tahoma (#62424)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:12:20 +01:00
Aaron Bach b051704c4b
Add reauth flow to Tile (#62415) 2021-12-20 13:11:26 -07:00
epenet 9eb1a44c03
Use new enums in tellduslive (#62426)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:04:24 +01:00
epenet 3724a4fb2f
Use new enums in tasmota (#62427)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 21:00:53 +01:00
epenet 69df7bc43d
Use new enums in ted5000 (#62425)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:59:50 +01:00
epenet 314dce914f
Use new enums in temper (#62428)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:58:54 +01:00
epenet 418221bd21
Use new enums in tesla_wall_connector (#62434)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:58:17 +01:00
epenet 666e14b11d
Use new enums in wled (#62431)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:57:05 +01:00
epenet 2f8e44641b
Use new enums in verisure (#62433)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:56:33 +01:00
epenet 6a5192b170
Use new enums in watttime (#62430)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 20:55:37 +01:00
Erik Montnemery a7a0cfd9e6
Make it possible to turn on audio only google cast devices (#62420) 2021-12-20 11:18:11 -08:00
ollo69 5a41251d45
Add config_flow to AndroidTV integration (#54444)
Co-authored-by: Robert Hillis <tkdrob4390@yahoo.com>
2021-12-20 13:08:35 -06:00
Matthias Alphart 6cf9f1a0cc
Update xknx to 0.18.14 (#62411)
Co-authored-by: Franck Nijhof <git@frenck.dev>
2021-12-20 19:22:04 +01:00
epenet 6a81821399
Refactor kaiterra to use SensorEntityDescription (#61865)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 19:20:40 +01:00
Ville Skyttä 334c6c5c02
Make device automation type an enum (#62354) 2021-12-20 19:16:30 +01:00
Bram Kragten 2ddd45afd5
Update frontend to 20211220.0 (#62389) 2021-12-20 09:49:16 -08:00
epenet c04e181809
Use attr** in smarty (#62371)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:42:36 +01:00
Erik Montnemery ba818c0a95
Bump pychromecast to 10.2.2 (#62390) 2021-12-20 18:37:11 +01:00
epenet 07e1e174ac
Use attr** in somfy-mylink (#62381)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:33:58 +01:00
Eduard van Valkenburg afc42ff835
Bump brunt to 1.1.0 (#62386) 2021-12-20 18:31:59 +01:00
epenet ff7a0dabb2
Use new enums in somfy (#62378)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:28:52 +01:00
epenet 527d3a9e5b
Use new enums in solaredge (#62373)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:16:53 +01:00
epenet bae82d76b5
Use new enums in spider (#62396)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:06:33 +01:00
epenet 36a57b00d9
Use attr** in solax (#62397)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:05:04 +01:00
epenet de88d43068
Use new enums in subaru (#62403)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:03:52 +01:00
epenet 7da7a8434e
Use new enums in switchbot (#62404)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 18:03:08 +01:00
epenet ae3162bb6e
Use new enums in starline (#62407)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 17:55:37 +01:00
epenet bea1fbb4aa
Use new enums in supla (#62406)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 17:38:31 +01:00
epenet 5251c1b934
Use new enums in speedtestdotnet (#62405)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 11:16:20 -05:00
epenet 8bd03d520b
Use new enums in system_bridge (#62402)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 11:15:44 -05:00
epenet 071e29bf1d
Use new enums in systemmonitor (#62401)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 11:15:30 -05:00
epenet 23baf6e02a
Use new enums in syncthru (#62399)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 10:53:50 -05:00
epenet 75000c317b
Use new enums in switcher_kis (#62400)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 10:53:40 -05:00
epenet e5cf9b78bd
Use new enums in synology_dsm (#62398)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 10:53:21 -05:00
Nate Clark e2a95181ad
Update CODEOWNERS and correct iot class for Konnected (#62391) 2021-12-20 16:27:06 +01:00
Franck Nijhof fc6c0b1d4a
Add input_button (#62008)
* Add input_button

* Update homeassistant/components/input_button/__init__.py

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

* Improve test coverage

* Add reload test: not affecting state

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2021-12-20 16:18:58 +01:00
Franck Nijhof ff062bd052
Cleanup stale setup from CO2Signal (#62395) 2021-12-20 16:07:13 +01:00
epenet 0cc1a7b9bd
Use new enums in solaredge_local (#62374)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 15:58:25 +01:00
Thomas Dietrich 28af0b4092
Statistics component typing (#60997)
* Implement optional manually defined uniqueid

* Fix test case via mocked environment

* Add typing to statistics component

* Fix minor inconsistency

* Fix linter issues

* Execute hassfest

* Fix stricter mypy warnings

* Fix maxsplit warning

* Make binary value range explicit check

* Add basic typing to statistics tests

* Add empty config testcase

* Minor improvements

* Improve after comments

* Remove unnecessary test case

* Fix changed type

* Remove dict.get default
2021-12-20 14:53:51 +01:00
epenet 2f0b73c4ad
Use new enums in solax (#62376)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:33:08 +01:00
Erik Montnemery c96606df68
Don't use the homeassistant media app when casting media (#62385) 2021-12-20 14:28:02 +01:00
epenet 43099f6eb0
Use _attr_attribution in synology_dsm (#62382)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:19:40 +01:00
epenet d147038cc5
Use new enums in soma (#62377)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:19:09 +01:00
epenet c7a3a0da9f
Use new enums in spc (#62384)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:18:48 +01:00
epenet c18c58f560
Use attr** in linode (#61882)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 14:17:23 +01:00
Robert Hillis e689afc0b3
Remove deprecated yaml config from dlna_dmr (#62344) 2021-12-20 13:56:45 +01:00
epenet b5de2c38b3
Use new enums in sms (#62372)
Co-authored-by: epenet <epenet@users.noreply.github.com>
2021-12-20 13:54:10 +01:00
Robert Hillis cabcb52fb3
Remove deprecated yaml config from co2signal (#62343) 2021-12-20 13:49:15 +01:00
J. Nick Koston abc7dcf6bf
Add zones support to flux_led (#61072) 2021-12-20 13:45:34 +01:00
Aaron Bach 3d75befe0a
Replace SimpliSafe logged errors with `HomeAssistantError` in service handlers (#62352) 2021-12-20 13:35:45 +01:00
Thomas Dietrich d471e7e111
Fix typo in Kostal Plenticore integration entity (#62380) 2021-12-20 13:04:30 +01:00
Robert Hillis 31c0440b25
Use enums in smartthings (#62198) 2021-12-20 09:46:33 +01:00
Paulus Schoutsen a5c39e6fe4
Improve evil genius labs error handling (#62365) 2021-12-20 09:00:49 +01:00
Paulus Schoutsen 02ad5f3779
Bump voluptuous_serialize to 2.5.0 (#62363) 2021-12-19 22:28:15 -08:00
Penny Wood 2d049e9b4a
Update version of iZone library to add some bug fixes (#61548) 2021-12-19 22:25:01 -08:00
Eric Severance f50dc10276
Use the Platform enum in wemo (#62153) 2021-12-19 21:11:40 -08:00
J. Nick Koston 70947b14a3
Improve SSDP callback performance (#62359) 2021-12-19 21:04:45 -08:00
Eric Severance e8096e7f51
Bump pywemo==0.7.0 (#62360) 2021-12-19 21:02:05 -08:00