Commit Graph

36512 Commits (6971bb8f5bce2183dccb2e0ee7c3845a14dffd94)

Author SHA1 Message Date
Franck Nijhof 652892e535
Do not swallow WLED errors (#72407) 2022-05-24 16:30:41 +02:00
J. Nick Koston a5402d725f
Add light platform to Big Ass Fans (#72382)
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-24 09:20:13 -05:00
Robert Svensson dc0d065901
Fix UniFi device tracker on controllers only reporting events (#72240)
Add events to UniFi client tracker in case controller does not report proper data
2022-05-24 16:06:30 +02:00
rappenze 1113d9bea9
Support fibaro garage door devices (#72299)
* Add proper support for garage door controller in fibaro cover entity

* Add proper support for garage door controller in fibaro cover entity
2022-05-24 16:00:15 +02:00
Erik Montnemery 23bd64b7a2
Prevent duplication of statistics metadata (#71637)
* Prevent duplication of statistics metadata

* Add models_schema_28.py

* Handle entity renaming as a recorder job

* Improve tests
2022-05-24 15:34:46 +02:00
Greg Dowling d620072585
Remove pavoni as vera codeowner (#72421) 2022-05-24 15:16:02 +02:00
j-a-n 54f5238ef6
Moehlenhoff alpha2 sensors (#72161)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-05-24 11:03:49 +02:00
epenet cc162bf691
Remove YAML configuration from Jandy iAqualink (#72404) 2022-05-24 10:49:05 +02:00
Paulus Schoutsen 3cd398a5bd
Warn for old Google SDK version (#72403) 2022-05-24 10:26:25 +02:00
Eric Severance f0b9aa7894
Bump pywemo==0.8.1 (#72400) 2022-05-24 09:53:01 +02:00
epenet 070cb61631
Adjust config-flow type hints in cloudflare (#72388)
* Adjust config-flow type hints in cloudflare

* Improve type hints
2022-05-24 08:23:09 +02:00
J. Nick Koston 1c25e1d7b1
Add metadata to logbook live stream websocket endpoint (#72394) 2022-05-23 22:37:47 -07:00
GitHub Action abbfed24a4 [ci skip] Translation update 2022-05-24 00:25:27 +00:00
Zack Barett 1eaf3bb817
Bump Frontend to 20220523.0 (#72397) 2022-05-23 17:01:07 -07:00
J. Nick Koston 9d95b9ab05
Chunk large logbook queries and add an end_time to the api so we stop sending events (#72351) 2022-05-23 15:40:00 -07:00
epenet 52808562ab
Improve DEVICE_TRIGGERS typing in tasmota (#72149)
* Improve DEVICE_TRIGGERS typing in tasmota

* fix CI

* Simplify

* Simplify some more
2022-05-23 21:32:03 +02:00
Franck Nijhof 53d7eaa1a6
Update Pillow to 9.1.1 (#72376) 2022-05-23 20:50:39 +02:00
J. Nick Koston 0248a8710f
Always pass the source of the trigger for logbook context messages (#72333) 2022-05-23 13:35:45 -05:00
Allen Porter f6370d0522
Add Honeywell Lyric application credentials platform and deprecate configuration in yaml (#72335)
Add Honeywell Lyric application credentials platform and deprecate config yaml
2022-05-23 20:16:21 +02:00
Eric Severance 92582beeff
Use properties of wemo Maker device (#72378) 2022-05-23 19:28:16 +02:00
J. Nick Koston 3cdc5c8429
Add climate platform to Big Ass Fans (#72117) 2022-05-23 18:38:59 +02:00
Joakim Sørensen f90effc299
Add agent version to Supervisor system health (#72360)
Co-authored-by: Stefan Agner <stefan@agner.ch>
2022-05-23 09:22:49 -07:00
Erik Montnemery deedbca46c
Mark unused sync toggle method from ToggleEntity as final (#72370) 2022-05-23 17:52:21 +02:00
epenet 7da9cac1f8
Log SamsungTV state changes (#71989) 2022-05-23 17:48:41 +02:00
Keilin Bickar c10d456d11
Handle Sense timeout exceptions from initial authentication (#72369) 2022-05-23 17:45:01 +02:00
epenet 1b5a46a5ba
Adjust device_automation type hints in zha (#72142) 2022-05-23 17:35:35 +02:00
Kevin Stillhammer 967f4efc56
Cleanup config flow and tests for here_travel_time (#72364) 2022-05-23 16:50:05 +02:00
Jan Bouwhuis d0556e6dd1
Move manual configuration of MQTT sensor to the integration key (#72276)
Add sensor
2022-05-23 16:29:45 +02:00
Robert Hillis 204e26a1b5
Warn user if Steam friends list is restricted (#72285) 2022-05-23 16:11:17 +02:00
epenet 5cfb31d28a
Adjust device_automation type hints in core components (#72207) 2022-05-23 16:07:34 +02:00
epenet fb53e39f05
Adjust device_automation type hints in core platforms 1/3 (#72209) 2022-05-23 16:03:21 +02:00
epenet 3a0e816f1b
Adjust device_automation type hints in core platforms 2/3 (#72210) 2022-05-23 16:02:36 +02:00
epenet b10ee779f9
Adjust device_automation type hints in core platforms 3/3 (#72211) 2022-05-23 16:01:40 +02:00
epenet 30bf727dfe
Adjust device_automation type hints in litejet (#72195) 2022-05-23 15:56:13 +02:00
Robert Svensson cc7a0e3c24
Streamline setup of deCONZ sensor platform (#71905) 2022-05-23 15:41:56 +02:00
epenet 82d4d96672
Adjust config_flow type hints in amberelectric (#72236) 2022-05-23 15:38:55 +02:00
epenet 5137e6b18d
Adjust device_automation type hints in tasmota (#72201) 2022-05-23 15:00:24 +02:00
epenet ee5f1b1577
Adjust device_automation type hints in hue (#72144) 2022-05-23 14:59:12 +02:00
epenet caa2412103
Adjust device_automation type hints in philips_js (#72137) 2022-05-23 14:57:09 +02:00
epenet bcc3c93b4e
Adjust device_automation type hints in wemo (#72141) 2022-05-23 14:56:17 +02:00
epenet 52686aae05
Adjust device_automation type hints in nanoleaf (#72134) 2022-05-23 14:53:12 +02:00
Allen Porter dc76cce96b
Add SENZ application credentials platform (#72338) 2022-05-23 14:44:45 +02:00
epenet 5bb39a1db5
Adjust device_automation type hints in zwave_js (#72143) 2022-05-23 14:37:44 +02:00
epenet df3e3b52a0
Adjust device_automation type hints in lcn (#72132) 2022-05-23 14:34:55 +02:00
epenet dfc8dee2d6
Adjust device_automation type hints in rfxtrx (#72138) 2022-05-23 14:32:47 +02:00
Stefan Agner 6ec755a79d
Update board file list to reflect currently available boards (#72085)
* Update board file list to reflect currently available boards

* Warn if board does not exist and migrate Intel NUC to Generic x86-64

* Remove integration in case a old board is referenced

* Don't remove the config entry automatically/fix logging message

* Address pylint issue
2022-05-23 14:28:56 +02:00
mkmer 071f6d7099
Aladdin connect unload cleanup (#71948) 2022-05-23 14:13:21 +02:00
starkillerOG fad766322c
Do not track Netgear AP or Bridge devices (#69102) 2022-05-23 13:48:44 +02:00
epenet 0c58f813c5
Cleanup trigger type hint in deconz (#72358) 2022-05-23 12:55:26 +02:00
Steve HOLWEG f6fab65f60
Add support for com.fibaro.binarySensor to fibaro (#65446) 2022-05-23 12:33:25 +02:00
Maikel Punie 9ecc96e31c
Bump velbus-aio to 2022.5.1 (#72355) 2022-05-23 12:29:21 +02:00
epenet 421167c548
Drop GetAutomationsResult and GetAutomationCapabilitiesResult aliases (#72328) 2022-05-23 12:18:17 +02:00
J. Nick Koston 31b53e7fc6
Remove superfluous underscore from lutron_caseta entity and device names (#72337) 2022-05-23 12:03:49 +02:00
Robert Svensson c770a81160
Use pydeconz interface controls for alarm control panel (#72317) 2022-05-23 12:00:01 +02:00
Thibaut 19781d285c
Add missing min and max values for some numbers in Overkiz (#72229) 2022-05-23 11:59:11 +02:00
Bouwe Westerdijk e17a653cf0
Bump plugwise to v0.18.4 (#72263) 2022-05-23 10:59:10 +02:00
Matrix 800410ddf0
Add yolink siren (#72341)
* Add yolink siren

* Add .coveragerc

* fix wrong comments
2022-05-23 10:52:05 +02:00
Kevin Stillhammer 793ad568eb
here_travel_time: Add unique_id and DeviceInfo (#72352)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-05-23 10:47:40 +02:00
Jan Bouwhuis bc6451bd64
Move manual configuration of MQTT select to the integration key (#72274)
Add select

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-23 10:08:44 +02:00
Felipe Martins Diel c52e8f7cfe
Bump broadlink to 0.18.2 (#72346) 2022-05-23 09:45:05 +02:00
Steven Looman 01c211a7f9
Bump async-upnp-client to 0.30.1 (#72332)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-23 02:06:09 -05:00
Jan Bouwhuis 673f43fbec
Move manual configuration of MQTT scene to the integration key (#72273)
Add scene

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-23 09:04:03 +02:00
Jan Bouwhuis eb988f7792
Fix race in MQTT platform setup (#72344)
Make sure MQTT platforms setup locks discovery
2022-05-23 09:03:30 +02:00
Eric Severance cf5e21a996
Use properties of wemo Insight device (#72316) 2022-05-23 08:43:42 +02:00
Jan Bouwhuis c4893f96f6
Move manual configuration of MQTT siren to the integration key (#72278)
Add siren
2022-05-23 08:08:08 +02:00
Jan Bouwhuis 623abb1147
Move manual configuration of MQTT number to the integration key (#72272)
Add number
2022-05-23 08:03:09 +02:00
uvjustin c2612d1ade
Remove cache control headers from stream (#71996) 2022-05-23 13:56:26 +08:00
uvjustin f965f542a3
Always set use wallclock as timestamps in ezviz (#71984) 2022-05-23 13:56:03 +08:00
uvjustin 79fb5e1bec
Add use wallclock as timestamps option to onvif (#71983) 2022-05-23 13:54:49 +08:00
Zac West 20960e182d
Log unknown websocket commands at info instead of error (#72336) 2022-05-22 22:41:51 -07:00
J. Nick Koston 4dbc1ed7a7
Add dialect (database engine) and version to recorder system health data (#72339) 2022-05-22 21:29:30 -07:00
epenet e9ffcad4d1
Adjust setup type hints in opnsense (#72225) 2022-05-22 19:46:46 -07:00
epenet 4e4c745c4f
Adjust setup type hints in honeywell (#72226) 2022-05-22 19:44:11 -07:00
Michael 3ee5445b26
Fix camera entity update coordinator subscription in Synology DSM (#72248)
fix camera entity subscription to coordinator
2022-05-22 19:43:21 -07:00
Kevin Stillhammer 7649adde5f
Fix here_travel_time config_flow import (#72313)
* Handle import of entity_namespace

* Update homeassistant/components/here_travel_time/config_flow.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Fix mypy

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-05-22 18:41:54 -07:00
GitHub Action 7df7e33d17 [ci skip] Translation update 2022-05-23 00:25:42 +00:00
Allen Porter 39ce25f76d
Add Withings application_credentials platform (#71990)
* Add Withings application_credentials platform

* Update withings auth implementation
2022-05-22 14:30:57 -07:00
Allen Porter e6ffae8bd3
Deprecate google calendar configuration.yaml (#72288)
* Deprecate google calendar configuration.yaml

* Remove unused translations

* Enable strict type checking and address pr feedback

* Move default hass.data init to `async_setup`
2022-05-22 14:29:11 -07:00
J. Nick Koston 9c3f949165
Add live streaming logbook websocket endpoint (#72258)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-22 14:57:54 -05:00
epenet 3390d62b3d
Revert "Adjust device_automation type hints in deconz" (#72323)
Revert "Adjust device_automation type hints in deconz (#72194)"

This reverts commit a57697d6e9.
2022-05-22 20:53:00 +02:00
Andre Lengwenus ead6e7da1f
Purge entity and device registries when importing lcn from configuration.yaml (#54266)
* Identify LCN orphans in entity registry and device registry and remove them

* Fix typing issues

* Revert "Fix typing issues"

This reverts commit eccd067b3b5f23135e6c8a79d25f7f2cbc2d0ae9.

* Fix removal of devices which do not belong to given config_entry

* Use helper for getting entities for config_entry

* Rename variable
2022-05-22 18:59:44 +02:00
Matrix 16088915eb
Fix yolink binary sensor (#72304)
* Fix yolink binary sensor

* suggest fix
2022-05-22 18:57:09 +02:00
Matrix d9732ec787
Add yolink outlet (#72247)
* Add yolink outlet

* add .coveragerc

* buf fix

* suggest fix

* suggest fix
2022-05-22 13:20:29 +02:00
Jan Bouwhuis 4153edbcdd
Move manual configuration of MQTT humidifier to the integration key (#72270)
Add humidifier
2022-05-22 13:07:49 +02:00
Jan Bouwhuis 3c3e394972
Move manual configuration of MQTT cover to the integration key (#72268)
Add cover

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-22 13:07:14 +02:00
Jan Bouwhuis 87d895929f
Move manual configuration of MQTT switch to the integration key (#72279)
Add switch

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-22 13:06:49 +02:00
Jan Bouwhuis e8664ce1ae
Move manual configuration of MQTT climate to the integration key (#72251)
Add climate

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-22 11:28:10 +02:00
Jan Bouwhuis d1afbbfb09
Move manual configuration of MQTT vacuum to the integration key (#72281)
Add vacuum

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-22 11:27:25 +02:00
GitHub Action b6b72f50ec [ci skip] Translation update 2022-05-22 00:22:43 +00:00
Christopher Bailey 654c59c194
Add diagnostics for UniFi Protect (#72280) 2022-05-21 18:35:27 -05:00
xLarry abf9aab18f
Add laundrify integration (#65090)
* First version of laundrify integration

* Code cleanup

* Code cleanup after review #2

* Move coordinator to its own file

* Save devices as dict and implement available prop as fn

* Validate token on init, abort if already configured

* Some more cleanup after review

* Add strict type hints

* Minor changes after code review

* Remove OptionsFlow (use default poll interval instead)

* Fix CODEOWNERS to pass hassfest job

* Fix formatting to pass prettier job

* Fix mypy typing error

* Update internal device property after fetching data

* Call parental update handler and remove obsolete code

* Add coordinator tests and fix some config flow tests

* Refactor tests

* Refactor fixtures

* Device unavailable if polling fails
2022-05-21 15:18:01 -04:00
Allen Porter 3f8c896cb2
Set user friendly name for Google Calendar config entry (#72243)
* Set user friendly name for Google Calendar config entry

* Add a new auth implementation for use during the config flow
2022-05-21 20:22:27 +02:00
Jan Bouwhuis 17669a728c
Move manual configuration of MQTT lock to the integration key (#72271)
Add lock
2022-05-21 19:07:26 +02:00
Jan Bouwhuis 809808dd80
Move manual configuration of MQTT camera to the integration key (#72249)
Add camera

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-21 19:04:36 +02:00
Allen Porter b38289ee50
Remove google found_calendar service (#72260)
* Remove google found_calendar service

* Partial revert of yaml changes

* Store calendar id in a local variable
2022-05-21 08:39:41 -07:00
Kevin Stillhammer f1ac9f8cca
Add ConfigFlow for here_travel_time (#69212)
* Add ConfigFlow for here_travel_time

* Use Selectors and Menu

* Use separate config flow steps for menus

* Move time options together

* Update homeassistant/components/here_travel_time/config_flow.py

Co-authored-by: Allen Porter <allen.porter@gmail.com>

* Blacken config_flow

* Initialize _config

* Only catch HERE errors

* Fix unknown error test

* Implement async_step_import

* Only catch errors for validate_api_key

* Split lat/lon

* Add additional test coverage

* Use TimeSelector in option flow

* Assert config entry data/option

Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-05-21 07:36:02 -07:00
Michael Chisholm dd0f9350ac
Update async-upnp-client to 0.30.0 (#72269) 2022-05-21 09:18:47 -05:00
Jan Bouwhuis 17588c39a4
Move manual configuration of MQTT binary_sensor to the integration key (#72183)
Add binary_sensor

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-21 16:14:24 +02:00
Robert Hillis a152449b72
Fix steam yaml import (#72245)
* Fix steam yaml import

* uno mas
2022-05-21 13:31:24 +02:00
Franck Nijhof 6c4ba07bd1
Remove combined translations / optional markers from Konnected (#72252) 2022-05-21 12:37:47 +02:00
Robert Hillis 72dbca4f5b
Address late feedback on Deluge config flow (#71497)
Address late feedback on Deluge
2022-05-21 11:20:37 +02:00
Marcio Granzotto Rodrigues 4710ad07c4
Add marciogranzotto as a Bond codeowner (#72238) 2022-05-21 10:27:59 +02:00
Jan Bouwhuis 3918059033
Move manual configuration of MQTT button to the integration key (#72167)
Add button

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-21 09:54:51 +02:00
Paulus Schoutsen eac872331a
Bump frontend to 20220521.0 (#72257) 2022-05-20 18:06:31 -07:00
GitHub Action ceb8bb4745 [ci skip] Translation update 2022-05-21 00:22:49 +00:00
Christopher Bailey 267266c7c3
Adds UP Chime support for UniFi Protect (#71874)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-20 15:16:01 -05:00
jrester ad5dbae425
Fix reauthentication for powerwall integration (#72174) 2022-05-20 14:53:43 -05:00
Matrix 1e7b187fc6
Add yolink sensors (#72186)
* Add more sensor support

* change codeowner to active account

* fix suggest
2022-05-20 20:06:47 +03:00
Allen Porter 5866bf48da
Bump gcal_sync to 0.9.0 (#72237) 2022-05-20 18:07:02 +02:00
J. Nick Koston e9c861f2b2
Add support for cover positions in bond (#72180) 2022-05-20 07:49:26 -07:00
jjlawren 614c44b9f0
Bump plexapi to 4.11.1 (#72121) 2022-05-20 07:48:22 -07:00
Allen Porter 775be354a6
Cleanup nest async methods that do not need to actually await (#72170)
Co-authored-by: epenet <6771947+epenet@users.noreply.github.com>
2022-05-20 07:47:18 -07:00
J. Nick Koston d459a5c66e
Include context state in logbook responses to improve localization (#72222)
* Include context state in logbook responses to improve localization

* reduce payload, dont send context_event_type if sending context_state
2022-05-20 07:46:01 -07:00
SNoof85 cbcf832436
Fix for Xiaomi miio fan speed (#72027)
Update fan.py
2022-05-20 15:22:38 +02:00
epenet a72ce2415b
Adjust setup type hints in agent_dvr (#72224) 2022-05-20 12:15:08 +03:00
Shay Levy 74e8b076e5
Fix Shelly missing key config flow (#72116) 2022-05-20 12:05:53 +03:00
epenet 99ad785d0a
Adjust setup type hints in mqtt (#72227) 2022-05-20 09:19:01 +02:00
epenet 71d6a17073
Adjust device_automation type hints in arcam_fmj (#72193) 2022-05-20 08:42:22 +02:00
Jan Bouwhuis 654b095498
Move manual configuration of MQTT alarm control panel to the integration key (#72165)
Add alarm_control_panel
2022-05-20 08:37:53 +02:00
epenet 4fb3a01c36
Adjust device_automation type hints in netatmo (#72136)
* Adjust device_automation type hints in netatmo

* Improve type hints
2022-05-20 08:27:49 +02:00
epenet 85ef0e3bd6
Adjust device_automation type hints in nest (#72197) 2022-05-20 08:27:24 +02:00
Raman Gupta 5f7594268a
Switch zwave_js firmware upload view to use device ID (#72219)
* Switch zwave_js firmware upload view to use device ID

* Store device registry in view
2022-05-20 01:50:13 -04:00
J. Nick Koston 7cad1571a2
Describe hue events in the logbook (#72220)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-19 22:21:09 -07:00
Allen Porter c028db00de
Add Neato application credentials platform and deprecate configuration.yaml (#72175) 2022-05-19 21:22:37 -07:00
Erik Montnemery 36e9088e6b
Allow frontend to store metadata in homeassistant scenes (#72178) 2022-05-19 21:22:15 -07:00
J. Nick Koston 1001f9e39a
Fix last state in history minimal respones when all the states at the end are skipped (#72203) 2022-05-19 20:58:32 -07:00
Christopher Bailey 5c2c602686
Bumps pyunifiprotect to 3.6.0 (#72188) 2022-05-19 20:34:58 -05:00
GitHub Action 9a3ecacf6b [ci skip] Translation update 2022-05-20 00:21:27 +00:00
J. Nick Koston 3681596430
Bump nexia to 1.0.1 (#72185)
- Fixes blower state when system is turned off

- Changelog: https://github.com/bdraco/nexia/compare/1.0.0...1.0.1

- Fixes #71949
2022-05-19 18:33:49 -05:00
Raman Gupta 68b278d170
Remove legacy zwave migration logic (#72206)
* Remove legacy zwave migration logic

* Update test_migrate.py
2022-05-19 18:29:28 -04:00
epenet ebc883b43f
Adjust device_automation type hints in homekit_controller (#72199) 2022-05-19 15:22:09 -05:00
epenet 3604bb4c66
Adjust device_automation type hints in lutron_caseta (#72133) 2022-05-19 15:21:43 -05:00
epenet 7ce3e9ad7b
Adjust device_automation type hints in shelly (#72196) 2022-05-19 22:33:50 +03:00
epenet 7005526892
Adjust device_automation type hints in webostv (#72200) 2022-05-19 22:33:01 +03:00
epenet a57697d6e9
Adjust device_automation type hints in deconz (#72194) 2022-05-19 21:16:06 +02:00
Raman Gupta 487819bbe5
Use device ID as input for zwave_js WS device cmds (#71667)
* Use device ID as input for zwave_js WS device cmds

* Additionally missed commands, update network_status command to include node status data

* revert change to removed function

* Revert register device change
2022-05-19 13:31:24 -04:00
J. Nick Koston 1c4c0f1eb3
Small fixes and cleanups to legacy nexia code (#72176) 2022-05-19 11:50:54 -05:00
epenet 0422d7f256
Add type hints to homekit_controller (#72155) 2022-05-19 11:34:51 -05:00
epenet 8ef39c3cfd
Add new methods to DeviceAutomationConditionProtocol (#72169)
* Add composite type

* Add new methods to DeviceAutomationConditionProtocol
2022-05-19 18:24:01 +02:00
epenet 8a00281eaa
Add new methods to DeviceAutomationTriggerProtocol (#72168)
* Add composite type

* Add new methods to DeviceAutomationTriggerProtocol
2022-05-19 18:23:40 +02:00
epenet 17bb503450
Add new methods to DeviceAutomationActionProtocol (#72163)
* Add composite type

* Extend action protocol

* Drop return/raise
2022-05-19 18:23:23 +02:00
Marcio Granzotto Rodrigues 3ece5965a8
Update bond-api to 0.1.18 (#72166) 2022-05-19 11:04:48 -05:00
Allen Porter 3526252cfc
Bump gcal-sync to 0.8.1 (#72164) 2022-05-19 08:16:49 -07:00
epenet b65b47f25e
Cleanup zha async method which is not awaiting (#72093)
* Cleanup zha async method which is not awaiting

* Missed a commit
2022-05-19 17:05:25 +02:00
Matrix 1e1016aa5f
Add yolink binary sensor (#72000)
* Add binary sensor platform

* Add untest file to .coveragerc

* change attr default
2022-05-19 16:43:32 +02:00
epenet f166a47df3
Adjust device_automation type hints in nest (#72135) 2022-05-19 06:50:32 -07:00
Jan Bouwhuis ed1c2ea2b8
Move manual configuration of MQTT fan and light to the integration key (#71676)
* Processing yaml config through entry setup

* Setup all platforms

* Update homeassistant/components/mqtt/__init__.py

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

* adjust mock_mqtt - reference config from cache

* Fix test config entry override

* Add tests yaml setup

* additional tests

* Introduce PLATFORM_SCHEMA_MODERN

* recover temporary MQTT_BASE_PLATFORM_SCHEMA

* Allow extra key in light base schema, restore test

* Fix test for exception on platform key

* One deprecation message per platform

* Remove deprecation checks from modern schema

* Update homeassistant/components/mqtt/fan.py

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

* Update homeassistant/components/mqtt/fan.py

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

* Update homeassistant/components/mqtt/light/__init__.py

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

* Update homeassistant/components/mqtt/light/__init__.py

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

* Update homeassistant/components/mqtt/light/schema_json.py

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

* Update homeassistant/components/mqtt/light/schema_template.py

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

* Update homeassistant/components/mqtt/mixins.py

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

* rename validate_modern_schema

* Do not fail platform if a single config is broken

* Update homeassistant/components/mqtt/__init__.py

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

* Fix tests on asserting log

* Update log. Make helper transparant, remove patch

* Perform parallel processing

* Update tests/components/mqtt/test_init.py

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

* Apply suggestions from code review

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

* Update homeassistant/components/mqtt/mixins.py

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

* black

* Fix tests and add #new_format anchor

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-19 15:04:53 +02:00
starkillerOG f7b96c87d0
Netgear test coverage (#72150) 2022-05-19 13:06:56 +02:00
starkillerOG cfe9ea033a
Split miio gateway coordinator (#69755) 2022-05-19 11:14:07 +02:00
Shay Levy bad245a856
Fix Shelly triggers type hints (#72146) 2022-05-19 11:06:57 +02:00
starkillerOG 9be7b02613
Fix Motion Blinds checking interface for multiple gateways (#71474)
* fix checking interface for multiple gateways

* fix black

* setup lock for shared multicast listener

* fix black

* bump motionblinds to 0.6.7

* compensate for extra Lock_key

* unregister gateway when unloading

* unsubscribe stop listener

* fix black

* only unsubscribe listener on last gateway remove

* catch OSError for invalid interfaces

* test coverage

* make stop listen on last config entry more robust

* also check ConfigEntryState

* fix black
2022-05-19 10:36:22 +02:00
epenet 1d6e404512
Adjust device_automation type hints in homekit_controller (#72130) 2022-05-19 10:19:43 +03:00
epenet f144b518b2
Adjust device_automation type hints in kodi (#72131) 2022-05-19 10:18:01 +03:00
epenet 453c6af595
Adjust device_automation type hints in arcam_fmj (#72128) 2022-05-19 10:16:46 +03:00
epenet 694dc97ac5
Adjust device_automation type hints in tasmota (#72140) 2022-05-19 10:15:41 +03:00
epenet 7e2f5968cc
Adjust device_automation type hints in shelly (#72139) 2022-05-19 10:12:54 +03:00
epenet be809980a1
Adjust device_automation type hints in deconz (#72129) 2022-05-19 08:57:02 +02:00
Adam James c4f6fcc3d2
Increase range of valid source IDs in nad (#72086)
nad: Increase max source ID to 12

Tested on a NAD C658 with an MDC HDM-2 card installed.
2022-05-19 08:28:55 +02:00
J. Nick Koston 272e65f56d
Fix device_ids being filtered when entities also specified in the logbook (#72122) 2022-05-18 23:27:31 -05:00
Allen Porter a6402697bb
Add display name for application credentials (#72053)
* Add display name for application credentials

* Rename display name to name

* Improve test coverage for importing a named credential

* Add a default credential name on import
2022-05-18 21:02:30 -07:00
Erik Montnemery edd7a3427c
Remove support for databases without ROW_NUMBER (#72092) 2022-05-18 21:52:38 -05:00
GitHub Action 3a13ffcf13 [ci skip] Translation update 2022-05-19 00:26:11 +00:00
Aaron Bach 506d09d058
Increase timeout for SimpliSafe email-based 2FA to 10 minutes (#72115)
Increase timeout for SimpliSafe email-based 2FAA to 10 minutes
2022-05-19 02:27:58 +03:00
J. Nick Koston d8a580a90f
Update nexia to use asyncio (#72108) 2022-05-18 18:08:02 -05:00
Jeef bf63d381b2
IntelliFire On/Off Switches (#70377)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-18 15:54:52 -05:00
J. Nick Koston 5e59c3fd6d
Add switch platform to Big Ass Fans (#71954) 2022-05-18 13:36:47 -07:00
J. Nick Koston 2745573610
Small cleanups lutron_caseta (#72099) 2022-05-18 13:35:35 -07:00
Paulus Schoutsen 18b40990a2
Bump frontend to 20220518.0 (#72106) 2022-05-18 13:22:30 -07:00
epenet 349347cade
Cleanup unused import in SamsungTV (#72102) 2022-05-18 21:04:42 +03:00
Michael e300908a8e
Refresh camera stream source of Synology DSM connected cameras (#70938)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-18 10:59:35 -07:00
epenet 784fbf3291
Cleanup nest async method which is not awaiting (#72096) 2022-05-18 20:50:15 +03:00
J. Nick Koston 985bcb23f2
Fix SAWarning in logbook queries (#72101) 2022-05-18 12:33:58 -05:00
Simone Chemelli 4a95539d9d
Warn user if "model" key is missing from Shelly firmware (#71612)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 10:29:02 -07:00
J. Nick Koston c74b241949
Include initial state in history_stats count (#71952) 2022-05-18 10:28:04 -07:00
epenet 8f7f3f328e
Suppress Upnp error in SamsungTV resubscribe (#71925)
* Suppress Upnp error in SamsungTV resubscribe

* Supress UpnpCommunicationError instead

* Log resubscribe errors

* Add tests

* Add exc_info
2022-05-18 10:01:56 -07:00
Jesse Hills 8ff0ced846
Initial implementation of ESPHome media players (#72047)
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
Co-authored-by: Franck Nijhof <git@frenck.dev>
2022-05-18 09:46:13 -07:00
epenet f4b252a51d
Cleanup hue async methods which are not awaiting (#72097) 2022-05-18 09:43:43 -07:00
epenet 50ca14538a
Cleanup deprecated async_get_registry in core (#72087) 2022-05-18 17:58:28 +02:00
J. Nick Koston bd78eec732
Fix reversed raise_on_progress in baf config_flow (#72094) 2022-05-18 17:42:14 +02:00
Erik Montnemery 037f6947d8
Fail recorder setup with unsupported dialect or version (#70888) 2022-05-18 16:52:46 +02:00
J. Nick Koston f3c582815c
Convert statistics to use lambda_stmt (#71903)
* Convert stats to use lambda_stmt

- Since baked queries are now [deprecated in 1.4](https://docs.sqlalchemy.org/en/14/orm/extensions/baked.html#module-sqlalchemy.ext.baked) the
  next step is to convert these to `lambda_stmt`

https://docs.sqlalchemy.org/en/14/core/connections.html#quick-guidelines-for-lambdas

* Update homeassistant/components/recorder/statistics.py

Co-authored-by: Erik Montnemery <erik@montnemery.com>
2022-05-18 16:22:21 +02:00
Jesse Hills 23cb5cfd3f
Bump aioesphomeapi to 10.10.0 (#72083) 2022-05-18 14:27:02 +02:00
epenet 619a92eab9
Cleanup deprecated async_get_registry in fronius (#72067) 2022-05-18 14:23:49 +02:00
epenet 7c4cc389c9
Cleanup deprecated async_get_registry in geonetnz_quakes (#72064) 2022-05-18 14:22:56 +02:00
epenet 977c5b7693
Cleanup deprecated async_get_registry in gdacs (#72066) 2022-05-18 14:22:38 +02:00
epenet 4978d5f86e
Cleanup deprecated async_get_registry in homekit_controller (#72069) 2022-05-18 14:21:56 +02:00
epenet 70aa71eeed
Cleanup deprecated async_get_registry in isy994 (#72078) 2022-05-18 14:09:43 +02:00
epenet 64b0dd1e7a
Cleanup deprecated async_get_registry in plex (#72077) 2022-05-18 14:09:25 +02:00
epenet df13fcd1a5
Cleanup deprecated async_get_registry in synology_dsm (#72075) 2022-05-18 14:09:04 +02:00
epenet 9c4a046a2b
Cleanup deprecated async_get_registry in sense (#72074) 2022-05-18 13:53:57 +02:00
epenet b9c84bd655
Cleanup deprecated async_get_registry in opentherm_gw (#72070) 2022-05-18 13:47:09 +02:00
epenet 4e6887515b
Cleanup deprecated async_get_registry in zha (#72080) 2022-05-18 07:45:49 -04:00
epenet ca785266b4
Cleanup deprecated async_get_registry in hue (#72068) 2022-05-18 13:42:49 +02:00
epenet eae8a59b7b
Cleanup deprecated async_get_registry in gios (#72065) 2022-05-18 13:18:43 +02:00
epenet 19fdc3e630
Cleanup deprecated async_get_registry in edl21 (#72063) 2022-05-18 13:18:08 +02:00
epenet 1c5541c875
Cleanup deprecated async_get_registry in august (#72062) 2022-05-18 13:16:04 +02:00
epenet 0cea2eba84
Cleanup deprecated async_get_registry in airly (#72061) 2022-05-18 13:15:28 +02:00
epenet 8492f282cb
Cleanup deprecated async_get_registry in xbox (#72079) 2022-05-18 12:37:27 +02:00
epenet 8b5803735f
Cleanup deprecated async_get_registry in rfxtrx (#72073) 2022-05-18 12:00:01 +02:00
epenet fc84e4061f
Cleanup deprecated async_get_registry in philips_js (#72071) 2022-05-18 11:59:13 +02:00
epenet 2060f42818
Cleanup deprecated async_get_registry in acmeda (#72060) 2022-05-18 11:55:08 +02:00
epenet 5724d87c40
Cleanup deprecated async_get_registry in uptimerobot (#72076) 2022-05-18 11:46:09 +02:00
epenet 2851540453
Drop unnecessary async definitions in onewire (#72018) 2022-05-18 10:34:20 +02:00
epenet 8d57f70466
Ignore UpnpXmlContentError in SamsungTV (#72056) 2022-05-18 09:36:20 +02:00
Paulus Schoutsen 12020ffac1
Add Media Browser support to VLC (#72052) 2022-05-18 09:15:17 +02:00
Paulus Schoutsen 14361f9587
Add media browser support for GStreamer (#72051)
* Add media browser support for GStreamer

* Fix media type check
2022-05-18 09:14:33 +02:00
Shay Levy c52f535eb3
Fix filesize doing IO in event loop (#72038) 2022-05-18 09:00:46 +02:00
J. Nick Koston c4fc84ec1e
Add support for selecting device_ids from the logbook (#72039)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-18 01:58:30 -05:00
J. Nick Koston 0dc12c70e3
Add logbook descriptions for elkm1 keypad press events (#72017)
* Add logbook descriptions for elkm1 keypad press events

* drop extra block
2022-05-18 08:47:02 +02:00
Jesse Hills 2bb6e4bb87
Bump aioesphomeapi to 10.9.0 (#72049) 2022-05-18 08:15:15 +02:00
epenet 8eb4a16a0f
Drop unnecessary async definitions in samsungtv (#72019)
* Drop unnecessary async definitions in samsungtv

* keep prefix
2022-05-18 08:01:28 +02:00
Matthias Alphart bcabe5c6e4
Decouple up-down and position inversion for KNX covers (#72012) 2022-05-18 07:27:00 +02:00
J. Nick Koston ec01e00184
Small cleanup to logbook context augmenter (#72043) 2022-05-17 21:10:28 -07:00
GitHub Action 1d6659224f [ci skip] Translation update 2022-05-18 00:22:07 +00:00
J. Nick Koston a4c1bcefb9
Tune sqlite based on configured settings (#72016) 2022-05-17 18:12:15 -05:00
Franck Nijhof bfb47eb212
Final clean up of helpers accessed via hass (#72032)
* Final clean up of helpers accessed via hass

* Fix circular dep

* Fix import
2022-05-17 23:42:37 +03:00
epenet d1d6c6b923
Cleanup SamsungTV log message (#71987) 2022-05-17 22:50:03 +03:00
epenet afe2b71b2e
Update model info from SSDP in SamsungTV (#71992)
* Update model info from SSDP in SamsungTV

* Add tests
2022-05-17 22:49:19 +03:00
Álvaro Fernández Rojas a78f183b64
Fix Airzone sensor and binary sensor updates (#72025)
airzone: fix sensor and binary sensor updates

This regression was introduced in b9b83c05e9
along with the modifications for the strict typing.

Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>
2022-05-17 22:47:28 +03:00
Franck Nijhof c3d19f3827
Clean up accessing device_registry helpers via hass (#72031) 2022-05-17 12:22:15 -07:00
Franck Nijhof 69e622b327
Clean up accessing intent helpers via hass (#72028) 2022-05-17 20:33:51 +02:00
Shay Levy 0d94324d58
Clean up Shelly async methods that are not awaiting (#72026) 2022-05-17 10:57:41 -07:00
Franck Nijhof c0da97b038
Clean up accessing service helpers via hass (#72013) 2022-05-17 10:56:57 -07:00
Paulus Schoutsen 5433c0a535
Make sure empty get_events results is always a list (#72021) 2022-05-17 10:43:58 -07:00
Franck Nijhof 8f4caf4141
Clean up accessing event helpers via hass (#72011) 2022-05-17 19:36:29 +02:00
Franck Nijhof 5f44d0f8f9
Clean up accessing storage.Store helper via hass (#72009) 2022-05-17 18:45:57 +02:00
Franck Nijhof c8f700c803
Clean up accessing dispatcher helpers via hass (#72014)
Clean up accessing ditpatcher helpers via hass
2022-05-17 18:41:36 +02:00
Paulus Schoutsen 0b09376360
Mobile app to notify when sensor is disabled (#71561)
* Mobile app to notify when sensor is disabled

* Add entity status to get_config

* Allow overriding enabled/disabled
2022-05-17 09:05:49 -07:00
Elad Bar e4573273dc
Add Tuya Multi-functional Sensor (dgnbj) (#71778)
Co-authored-by: Franck Nijhof <frenck@frenck.nl>
2022-05-17 17:57:19 +02:00
Franck Nijhof 69cc6ab5f1
Clean up accessing entity_registry.async_get_registry helper via hass (#72005) 2022-05-17 16:40:45 +02:00
Matthias Alphart 81259f4eef
Update xknx to 0.21.3 (#72006) 2022-05-17 15:08:21 +02:00
Franck Nijhof cba2fda93d
Fix clear config entry from registry in Samsung TV migration (#72004)
* Fix clear config entry from device registry

* Fix clear config entry from entity registry
2022-05-17 14:13:21 +02:00
rhadamantys c67bbd06d4
Provide unique id for enocean devices (#71774)
Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-17 13:43:36 +02:00
Franck Nijhof 7d2deae592
Clean up use of deprecated async_get_registry methods (#72001) 2022-05-17 13:40:19 +02:00
ollo69 39b27e4d38
Improve NUT typing (#72002) 2022-05-17 13:08:38 +02:00
Allen Porter 7d26be2d4d
Add Home Connect application_credentials platform and deprecate configuration.yaml (#71988)
Add Home Connect application_credentials platform
2022-05-17 10:48:31 +02:00
Matrix e0154d6fb1
Add YoLink product integration (#69167)
* add yolink integration with door sensor

* Add test flow and update .coveragerc

* Yolink integration Bug fix

* resovle test flow

* issues resolve

* issues resolve

* issues resolve

* resolve issues

* issues resolve

* issues resolve

* change .coveragerc and test_flow

* Update yolink api version

* add test for config entry

* change config flow and add test cases

* remove config entry data

* Add token check for re-auth test flow

* fix test flow issues

* Add application credentials

* Add alias for application_credentials

* support application credentials and cloud account linking

* fix suggest change
2022-05-17 09:59:39 +02:00
Joakim Plate 513e276bba
Avoid polling fjaraskupan if no broadcast is received (#71969)
* Switch to subclassed coordinator

* Avoid polling fjäråskupan only do on request

We still want to timeout the availability if no data was received.

* Remove unused variable

* Update homeassistant/components/fjaraskupan/__init__.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-17 08:32:28 +02:00
J. Nick Koston a614ddca28
Support requesting translations for multiple integrations in a single request (#71979) 2022-05-17 01:23:11 -05:00
J. Nick Koston 78f0716574
Add support for specifying the integrations manifest/list fetches (#71982)
* Add support for specifying the integrations manifest/list fetches

See https://github.com/home-assistant/core/pull/71979 for
the motovation

* Update homeassistant/components/websocket_api/commands.py

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>

Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-17 01:22:56 -05:00
Allen Porter ddecf76f6f
Add application_credentials platform for netatmo (#71884) 2022-05-16 21:09:48 -07:00
Franck Nijhof 99f68ab858
Update dsmr_parser to v0.33 (#71946) 2022-05-16 21:04:59 -07:00
uvjustin 0608506bac
Reuse codec_context on stream thread restart (#71942) 2022-05-16 20:52:48 -07:00
Christopher Bailey 3de31939d8
Refactor button code to allow for other button types for UniFi Protect (#71911)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-16 22:51:13 -05:00
GitHub Action 2d1a612976 [ci skip] Translation update 2022-05-17 00:23:03 +00:00
J. Nick Koston 1a6ccdbf59
Bump unifi-discovery to 1.1.3 (#71975) 2022-05-16 18:52:05 -05:00
ollo69 1747061820
Enable NUT strict typing (#71913) 2022-05-16 18:51:30 -05:00
jjlawren e339f43322
Add a timeout during Sonos speaker setup (#71973) 2022-05-16 18:03:39 -05:00
J. Nick Koston 8fcee01db0
Remove unnecessary flush from recorder (#71910) 2022-05-16 18:03:02 -05:00
J. Nick Koston f4a2afeb37
Guard against recorder pool current connection disappearing during global destruction (#71971) 2022-05-16 17:48:14 -05:00
Robert Svensson 007c6d2236
Streamline setup of deCONZ binary sensor platform (#71820) 2022-05-17 00:04:57 +02:00
Franck Nijhof 03e98a9a32
Update sentry-sdk to 1.5.12 (#71930)
* Update sentry-sdk to 1.5.12

* Remove now unneeded mypy ignore
2022-05-16 23:13:43 +03:00
Bram Kragten d22472208f
Update frontend to 20220516.0 (#71964) 2022-05-16 21:41:43 +02:00
Franck Nijhof bac2dce5ee
Update twentemilieu to 0.6.1 (#71953) 2022-05-16 20:14:04 +02:00
David F. Mulcahey 57c94c0350
Add additional configuration entities for ZHA lights (#70597)
* Add more configuration entities for ZHA lights

* fix typing circular imports

* enhance filter in entity factory

* fix read attribute chunking

* add test

* add exception test
2022-05-16 13:04:32 -04:00
uvjustin 32b3ce5727
Clean up use_wallclock_as_timestamps in generic (#71940) 2022-05-16 09:06:54 -07:00
J. Nick Koston e74794d500
Add sensor platform to Big Ass Fans (#71877) 2022-05-16 16:10:18 +02:00
Marc Mueller 2d7723169a
Update pylint to 2.13.9 (#71941)
* Update pylint to 2.13.9

* Small change
2022-05-16 15:01:31 +02:00
Franck Nijhof a902899058
Remove auto_start translation from HomeKit (#71938) 2022-05-16 07:44:07 -05:00
Franck Nijhof fcd9fcffe6
Update watchdog to 2.1.8 (#71927) 2022-05-16 13:55:21 +03:00
Franck Nijhof 732082b770
Update apprise to 0.9.8.3 (#71934) 2022-05-16 13:54:24 +03:00
Simone Chemelli 0ee838b25e
Properly handle Shelly gen2 device disconnect (#71937) 2022-05-16 12:50:03 +02:00
Ethan Madden e30a9d1fc0
Fix VeSync air_quality fan attribute (#71771)
* Refactor attribute inclusion for VeSync fans.

A recent change to pyvesync (introduced in 2.2) changed `air_quality` to
refer to air quality as an integer representation of perceived air
quality rather than a direct reading of the PM2.5 sensor. With 2.3 the
PM2.5 sensor access was restored as `air_quality_value`. Unfortunately,
`air_quality_value` was not added as an attribute on the fan object, and
rather only exists in the `details` dictionary on the fan object.

* Update homeassistant/components/vesync/fan.py

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

* Rename `air_quality_value` attribute to `pm25`

This should make it more clear what the attribute actually represents

* `air_quality` attribute reports `air_quality_value`

This restores previous behavior for this integration to what it was
before the `pyvesync==2.02` upgrade, using the `air_quality` attribute
to report pm2.5 concentrations (formerly `air_quality`) rather the
vague measurement now reported by `air_quality`.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-16 10:30:49 +02:00
Franck Nijhof 77d39f9c4f
Add missing title translation for the Siren domain (#71924) 2022-05-16 10:07:39 +02:00
Allen Porter 7c68278482
Add application_credentials platform to geocaching integration (#71880) 2022-05-16 09:57:25 +02:00
Allen Porter aa35b87884
Improve error handling for application credentials deletion (#71868) 2022-05-16 09:37:36 +02:00
Allen Porter a32321aa9f
Mark xbox configuration.yaml as deprecated after app creds import (#71908) 2022-05-16 09:35:29 +02:00
Allen Porter 2613c865f7
Add Spotify application_credentials platform (#71871) 2022-05-16 09:31:14 +02:00
J. Nick Koston a70e2a33dc
Fixing purging legacy rows and improve performance (#71916) 2022-05-15 21:25:07 -07:00
J. Nick Koston 089eb9960a
Reduce logbook websocket payload size and parse json attributes via the DBM (#71895) 2022-05-15 20:48:57 -07:00
GitHub Action 37f81b261d [ci skip] Translation update 2022-05-16 00:24:28 +00:00
moritzbeck01 73f2f2ad1b
Add counter to the the helper category (#71838) 2022-05-15 21:19:18 +02:00
Maciej Bieniek 904be03d72
Revert changing `pysnmp` to `pysnmplib` (#71901) 2022-05-15 20:36:57 +02:00
Matej Drobnič 690fb2ae86
Add back description and location to calendar endpoint (#71887) 2022-05-15 20:31:22 +02:00
moritzbeck01 b6c7422607
Add timer to the the helper category (#71837) 2022-05-15 19:37:24 +02:00
Allen Porter f2da1fceb2
Bump gcal_sync to 0.8.0 (#71900) 2022-05-15 19:33:46 +02:00
uvjustin 221b77297e
Declare exports from stream explicitly (#71898) 2022-05-15 17:58:57 +02:00
J. Nick Koston 98809675ff
Convert history queries to use lambda_stmt (#71870)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-15 10:47:29 -05:00
Robert Svensson 8ea5ec6f08
Streamline setup of deCONZ number platform (#71840) 2022-05-15 15:56:45 +02:00
rappenze 2b637f71fa
Limit parallel requests in fibaro light (#71762) 2022-05-15 15:02:05 +02:00
RadekHvizdos 8549af3855
Add missing Shelly Cover sensors bugfix (#71831)
Switching Shelly Plus 2PM from switch to cover mode results in missing sensors for Power, Voltage, Energy and Temperature.

These parameters are still available in the API, but need to be accessed via "cover" key instead of "switch" key.

This change adds the missing sensors.
2022-05-15 12:29:35 +03:00
uvjustin 617b0d04dc
Decouple stream options from PyAV options (#71247)
Co-authored-by: Allen Porter <allen.porter@gmail.com>
2022-05-14 23:31:18 -07:00
J. Nick Koston e0bf1fba8d
Add logbook descriptions for mobile app zone enter and exit (#71749) 2022-05-14 23:05:56 -07:00
J. Nick Koston 1f753ecd88
Relocate sqlalchemy filter builder to recorder/filters.py (#71883) 2022-05-14 23:04:23 -07:00
J. Nick Koston 65f44bd80b
Exclude last_changed when same as last_updated for history websocket api (#71886) 2022-05-14 23:03:56 -07:00
starkillerOG 6a6d31180b
Motion blinds restore angle (#71790)
* restore tilt for TiltDevices

* add tilt option to set_absolute_position

* improve set_absolute_position service

* fix styling
2022-05-14 20:08:30 -07:00
J. Nick Koston 8f33437507
Correct typo in internal logbook function names (#71882) 2022-05-14 20:04:31 -07:00
Austin Mroczek 3d2f4e31af
Add diagnostics for TotalConnect (#71506) 2022-05-14 21:06:05 -05:00
GitHub Action 10624e93c8 [ci skip] Translation update 2022-05-15 00:30:16 +00:00
J. Nick Koston 51c6a68036
Add Big Ass Fans integration (#71498)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
2022-05-14 17:22:47 -05:00
J. Nick Koston 0584e84c30
Add MySQL index hints to logbook (#71864)
* Add MySQL index hints to logbook

* fix mysql query planner
2022-05-14 17:01:36 -05:00
J. Nick Koston 68632cb267
Implement use_include_order in the history websocket api (#71839) 2022-05-14 12:37:35 -07:00
J. Nick Koston ebce5660e3
Sync event timed_fired and the context ulid time (#71854) 2022-05-14 12:12:08 -07:00
J. Nick Koston 8c2743bb67
Avoid storing last_changed in the database if its the same as last_updated (#71843) 2022-05-14 12:06:31 -07:00
jjlawren 532b3d780f
Rework Sonos battery and ping activity tracking (#70942) 2022-05-14 13:40:26 -05:00
Allen Porter 355445db2d
Add application credentials platform for google calendar integration (#71808)
* Add google application_credentials platform

* Further simplify custom auth implementation overrides

* Add test coverage in application_credentials

* Simplify wording in a comment

* Remove unused imports accidentally left from merge

* Wrap lines that are too long for style guide

* Move application credential loading to only where it is needed

* Leave CLIENT_ID and CLIENT_SECRET as required.
2022-05-14 10:27:47 -07:00
AlainH 656e88faec
Update pyRFXtrx dependency to 0.29.0 (#71852)
* rfxtrx: update pyRFXtrx dependency to 0.29.0

* Update requirements_all.txt / requirements_test_all.txt
2022-05-14 18:10:15 +02:00
Christopher Bailey fdc8830dd3
Remove ssh switch from unsupported devices for UniFi Protect (#71859) 2022-05-14 11:07:17 -05:00
eyager1 ba7d397704
Improve reliability of VLC metadata parsing (#71856)
* Improve reliability of metadata parsing.

* Remove media_album_name property

* Apply suggestions from code review

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

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2022-05-14 17:14:35 +02:00
G Johansson c0ae31d86c
Code quality Filesize (#71768) 2022-05-14 06:16:22 -05:00
Franck Nijhof 991f0b40f2
Remove YAML configuration from Discord (#71696) 2022-05-13 22:55:02 -05:00
Clifford W. Hansen ef9d8944f1
Update sonarr sensor (#71576)
Fixed issue when episodeFileCount/episodeCount might not exist
2022-05-13 22:09:09 -05:00
G Johansson d84c6af55d
Add multiple departures to Trafikverket Ferry (#71484) 2022-05-13 19:42:11 -05:00
J. Nick Koston a8f1dda004
Use ciso8601 for parsing MySQLdb datetimes (#71818)
* Use ciso8601 for parsing MySQLDB datetimes

The default parser is this:

5340191feb/MySQLdb/times.py (L66)

* tweak

* tweak

* add coverage for building the MySQLdb connect conv param
2022-05-13 19:26:09 -05:00
Álvaro Fernández Rojas abe78b1212
Add QNAP QSW Button platform (#70980)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-13 19:24:29 -05:00
Álvaro Fernández Rojas e8a8d35289
Add Sensors for Airzone WebServer (#69748) 2022-05-13 19:23:18 -05:00
Robert Hillis 4ea6e5dfc0
Add config flow to Slack integration (#69880) 2022-05-13 20:05:06 -04:00
epenet 21b1667de9
Adjust Fan Modes in insteon (#71804) 2022-05-13 19:57:19 -04:00
jjlawren c5460ce4b9
Fix Sonos idle states (#71756) 2022-05-13 19:04:58 -04:00
Nathan Spencer 72a65b6a21
Add last seen and status code diagnostic sensors to litterrobot (#71760) 2022-05-13 19:03:25 -04:00
Christopher Bailey 3e386064cf
Fix handling package detection for latest UniFi Protect beta (#71821)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-05-13 18:42:33 -04:00
mkmer f6600bbc20
Add Aladdin connect config flow (#68304)
* Adding flow and async

* Fixes to init

* Lint and type

* Fixed coveragerc file

* Added Test Coverage

* Added Update Listener and removed unused code

* Wrong integration name in init.

* Nothing

* Added yaml import flow

* Added YAML import functionality

* Added back aladdin_connect files to coverage rc

* Removed commented code

* Clean up error message

* Update homeassistant/components/aladdin_connect/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/aladdin_connect/__init__.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Update homeassistant/components/aladdin_connect/config_flow.py

Co-authored-by: G Johansson <goran.johansson@shiftit.se>

* Updated Documentation errors

* recommended change broke cover.py - backed out

* Cleaned up unused defenitions

* implimented recommended changes from gjohansson

* Dev environment cleanup

* Raised errors for better recovery, replaced removed update files, utilized PLATFORM vars to init platform

* Added back removal

* Added Code Owner

* Fixed more comment errors and import duplicates

* Added test coverage and formated code

* Added test coverage for model and init

* Added test_cover for full testing coverage

* Added await to async call

* Added missing asserts to failure tests

* Updated tranlsation

* Fixed wording in yaml import function, white space in const.py, return from validate_input.

* Update homeassistant/components/aladdin_connect/config_flow.py

Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>

* "too much" whitespace

* Added back mising strings.json errors

* Added ConfigFlowReconfig and tests

* Finished up reauth config flow and associated tests

* Added reauth to strings, removed username from reauth

* recommended changes, ran script.translations, added auth test to reauth

* put back self.entry.data unpack.

* Cleanup for error message, fixed missing "asserts" in tests

* Added yaml import assertions

* Fixed documentation errors in test_cover.

* remove unused string.

* revised tests and wording for yaml import

* Documentation cleanup.

* Changed sideeffect names

Co-authored-by: G Johansson <goran.johansson@shiftit.se>
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-05-14 00:41:01 +02:00
J. Nick Koston 663f6f8340
Complete refactoring of logbook humanify (#71830) 2022-05-13 14:56:16 -07:00
J. Nick Koston e06ea5e03e
Remove deprecated history function entry points (#71815) 2022-05-13 16:19:26 -04:00
J. Nick Koston 535ae56fe7
Remove unused entity_id argument in logbook context augmenter (#71829) 2022-05-13 13:17:41 -07:00
J. Nick Koston 2a2a7a62c5
Avoid matching entity_id/domain attributes in logbook when there is no entities_filter (#71825) 2022-05-13 13:16:33 -07:00
Erik Montnemery 08ee276277
Add tilt support to Tasmota covers (#71789)
* Add tilt support to Tasmota covers

* Bump hatasmota to 0.5.0
2022-05-13 22:03:21 +03:00
Dave T 807df530bc
Add diagnostics file export to generic camera (#71492) 2022-05-13 10:27:08 -07:00
J. Nick Koston 9bd508c0bf
Generate json for history and logbook websocket responses in the executor (#71813) 2022-05-13 13:17:54 -04:00
Erik Montnemery 83080dbba8
Support this variable in template cover actions (#71793) 2022-05-13 09:34:00 -07:00
Erik Montnemery a17fa6d6d5
Support this variable in template fan actions (#71795) 2022-05-13 09:33:44 -07:00
Erik Montnemery 8b412acc98
Support this variable in template lock actions (#71796) 2022-05-13 09:33:25 -07:00
Erik Montnemery 66ec4564f4
Support this variable in template number actions (#71797) 2022-05-13 09:33:00 -07:00
Erik Montnemery adde9130a1
Support this variable in template select actions (#71798) 2022-05-13 09:32:45 -07:00
Erik Montnemery 6f7a465347
Support this variable in template vacuum actions (#71800) 2022-05-13 09:32:19 -07:00
Erik Montnemery 9eca91afc9
Support this variable in template light actions (#71805) 2022-05-13 09:31:37 -07:00
J. Nick Koston d215cdc563
Avoid buffering logbook rows unless we are selecting less than a days worth (#71809) 2022-05-13 09:10:43 -07:00
J. Nick Koston e7e45209ec
Update stale docstring in logbook (#71814) 2022-05-13 09:07:26 -07:00
starkillerOG 28560e76e9
Fix mixing string references in Motion Blinds translations (#71806) 2022-05-13 17:29:56 +02:00
Erik Montnemery 042321be60
Support this variable in template button actions (#71792) 2022-05-13 17:28:36 +02:00
Erik Montnemery 184421dae6
Support this variable in template switch actions (#71799) 2022-05-13 16:44:27 +02:00
Avi Miller f487c04e02
Remove LIFX bulb discovery from the inflight list if it fails to connect (#71673)
Remove the bulb discovery from the inflight list if it fails to connect

Signed-off-by: Avi Miller <me@dje.li>
2022-05-13 13:30:44 +02:00
Thibaut 80d332ddf1
Don’t send None value within Command parameter value in Overkiz integration (#71582) 2022-05-13 12:36:08 +02:00
Erik Montnemery dba2f5ab1c
Support this variable in template alarm actions (#71744) 2022-05-13 12:17:40 +02:00
Mick Vleeshouwer f301de98e4
Add deprecation warning to Somfy integration (#71653) 2022-05-13 12:15:49 +02:00
Franck Nijhof c8d171c475
Remove deprecated Raspberry Pi GPIO integration (#71777) 2022-05-13 12:13:26 +02:00
Erik Montnemery 3adaad7381
Migrate limitlessled light to color_mode (#69430) 2022-05-13 11:40:22 +02:00
Robert Svensson 3d05a9d31f
Streamline setup of deCONZ lock from sensor platform (#71707) 2022-05-13 10:38:36 +02:00
Franck Nijhof e6d7170fd8
Remove deprecated WLED update button (#71775) 2022-05-13 11:18:16 +03:00
Robert Svensson bed2d1e37b
Streamline setup of deCONZ climate platform (#71708) 2022-05-13 09:51:19 +02:00
Jelte Zeilstra 75058e63a4
Create Update entities for Ubiquiti network devices (#71700)
Co-authored-by: Robert Svensson <Kane610@users.noreply.github.com>
2022-05-13 09:17:41 +02:00
Allen Porter 32e4046435
Prepare google calendar integration for Application Credentials (#71748)
* Prepare google calendar integration for Application Credentials

Update google calendar integration to have fewer dependencies on
yaml configuration data to prepare for supporting application
credentials, which means setup can happen without configuration.yaml
at all. This pre-factoring will allow the following PR adding
application credentials support to be more focused.

* Add test coverage for device auth checks
2022-05-13 04:33:52 +02:00
GitHub Action c7e8428daa [ci skip] Translation update 2022-05-13 00:26:47 +00:00
J. Nick Koston 24a0007785
Add additional context data to logbook events (#71721) 2022-05-12 17:21:14 -07:00
J. Nick Koston 1d9fb4bca8
Fix process_datetime_to_timestamp and add test coverage (#71755) 2022-05-12 17:12:50 -07:00
J. Nick Koston 8ab27f26b9
Use ciso8601 for parsing datetimes with sqlalchemy sqlite dialect (#71766) 2022-05-12 17:11:43 -07:00
Paul Annekov d76ff7d5a2
Changed API for Ukraine Alarm (#71754) 2022-05-12 16:45:39 -07:00
uvjustin 7e49ae6410
Add use_wallclock_as_timestamps option to generic (#71245)
Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io>
Co-authored-by: Paulus Schoutsen <balloob@gmail.com>
2022-05-12 16:43:24 -07:00
G Johansson a746d7c1d7
Improve code quality in sql integration (#71705) 2022-05-12 19:40:00 -04:00
Nathan Spencer ae89a1243a
Refactor litterrobot to use SensorEntityDescription (#71224) 2022-05-12 13:15:59 -05:00