Commit graph

56468 commits

Author SHA1 Message Date
J. Nick Koston
a3ec9529ec
Fix lutron caseta triggers when device fails to setup before startup finishes (#82714)
Refactor the trigger attach so its not dependant on the intergration
being already setup

fixes #82495 & fixes #81999
2022-11-29 20:46:01 -05:00
Aaron Bach
43c8adc5ec
Bump simplisafe-python to 2022.11.2 (#82943) 2022-11-29 18:35:35 -07:00
GitHub Action
197e71203b [ci skip] Translation update 2022-11-30 00:26:16 +00:00
Nyro
73cd2636dd
Add Overkiz DomesticHotWaterProduction (#81538)
* Port DomesticHotWaterProduction from HA-Tahoma

* Add new domestic hot water controllable_name

* Update DHWP to detect existing commands instead of devices

* Update homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py

Co-authored-by: Quentame <polletquentin74@me.com>

* Update homeassistant/components/overkiz/water_heater_entities/domestic_hot_water_production.py

Co-authored-by: Quentame <polletquentin74@me.com>

* Improve read states and comment for overkiz DHWP

* Remove DHWP_BOOST_MODES

* Update DHWP to handle more device correctly

* Improve current_temperature for bogus device

* Init overkiz_to_operation_mode for DHWP

* Update command to be correct

* Upgrade pyoverkiz and use new constants for DHWP

* Remove .tow/.package.lock

Co-authored-by: Quentame <polletquentin74@me.com>
2022-11-29 23:08:13 +01:00
Joakim Plate
c576a68d33
Upgrade pytest-aiohttp (#82475)
* Upgrade pytest-aiohttp

* Make sure executors, tasks and timers are closed

Some test will trigger warnings on garbage collect, these warnings
spills over into next test.

Some test trigger tasks that raise errors on shutdown, these spill
over into next test.

This is to mimic older pytest-aiohttp and it's behaviour on test
cleanup.

Discussions on similar changes for pytest-aiohttp are here:
https://github.com/pytest-dev/pytest-asyncio/pull/309

* Replace loop with event_loop

* Make sure time is frozen for tests

* Make sure the ConditionType is not async

  /home-assistant/homeassistant/helpers/template.py:2082: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
    def wrapper(*args, **kwargs):
  Enable tracemalloc to get traceback where the object was allocated.
  See https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings for more info.

* Increase litejet press tests with a factor 10

The times are simulated anyway, and we can't stop the normal
event from occuring.

* Use async handlers for aiohttp

tests/components/motioneye/test_camera.py::test_get_still_image_from_camera
tests/components/motioneye/test_camera.py::test_get_still_image_from_camera
tests/components/motioneye/test_camera.py::test_get_stream_from_camera
tests/components/motioneye/test_camera.py::test_get_stream_from_camera
tests/components/motioneye/test_camera.py::test_camera_option_stream_url_template
tests/components/motioneye/test_camera.py::test_camera_option_stream_url_template
  /Users/joakim/src/hass/home-assistant/venv/lib/python3.9/site-packages/aiohttp/web_urldispatcher.py:189: DeprecationWarning: Bare functions are deprecated, use async ones
    warnings.warn(

* Switch to freezegun in modbus tests

The tests allowed clock to tick in between steps

* Make sure skybell object are fully mocked

Old tests would trigger attempts to post to could services:

```
DEBUG:aioskybell:HTTP post https://cloud.myskybell.com/api/v3/login/ Request with headers: {'content-type': 'application/json', 'accept': '*/*', 'x-skybell-app-id': 'd2b542c7-a7e4-4e1e-b77d-2b76911c7c46', 'x-skybell-client-id': '1f36a3c0-6dee-4997-a6db-4e1c67338e57'}
```

* Fix sorting that broke after rebase
2022-11-29 22:36:36 +01:00
Erik Montnemery
b7652c78ee
Add options flow to enable multiprotocol support on sky connect (#82525) 2022-11-29 16:34:55 -05:00
Aarni Koskela
16fc2972d3
Remove more useless manifest truthiness checks in hassfest (#82914) 2022-11-29 21:57:58 +01:00
Franck Nijhof
205a2ee215
Ensure Abode provides valid device classes (#82929) 2022-11-29 15:37:54 -05:00
Franck Nijhof
368694d6bf
Collection of DeviceClass related typing fixes (#82931) 2022-11-29 14:31:25 -05:00
Jan Bouwhuis
2785b2b52f
Add mqtt text platform (#82884) 2022-11-29 20:31:05 +01:00
Franck Nijhof
b4e30c4033
Use SensorDeviceClass enum in KNX (#82947) 2022-11-29 20:29:47 +01:00
Franck Nijhof
c36dd17780
Simplify use of binary sensor device classes in MySensors (#82946) 2022-11-29 20:23:57 +01:00
Bram Kragten
573320a0b4
Add country to detect location info (#82941) 2022-11-29 13:52:49 -05:00
Nyro
1c0f9cf941
Add Overkiz Hitachi DHW (#81536)
* Port ha-tahome hitachi dhw

* Use int for setting temperature

* Use value as float when possible

* Use device state for current operation

* Update homeassistant/components/overkiz/water_heater_entities/hitachi_dhw.py

Co-authored-by: Quentame <polletquentin74@me.com>

* Update homeassistant/components/overkiz/water_heater_entities/hitachi_dhw.py

Co-authored-by: Quentame <polletquentin74@me.com>

* Use ON instead of ECO for standard operation mode

Co-authored-by: Quentame <polletquentin74@me.com>
2022-11-29 19:27:05 +01:00
Joakim Sørensen
10e7d6e04d
Add supervisor key to homassistant_alerts (#82862) 2022-11-29 13:22:36 -05:00
Matrix
4ab6f97341
Expose mcu detected temperature & signal (#82905) 2022-11-29 18:41:01 +01:00
epenet
c092f2be04
Use new unit enums in weather integrations (#82938) 2022-11-29 18:13:05 +01:00
epenet
4ad9633dfb
Use new unit enums in weather entity (#82937) 2022-11-29 18:10:31 +01:00
Matthias Alphart
0561c14d53
Add text platform for KNX (#82811) 2022-11-29 18:05:51 +01:00
Franck Nijhof
d769359b4f
Remove invalid custom device class from MinutPoint sound sensor (#82934) 2022-11-29 17:22:01 +01:00
epenet
db9e8d2fa1
Use OptionsFlowWithConfigEntry in braviatv (#82902)
* Use OptionsFlowWithConfigEntry in braviatv

* Make use of add_suggested_values_to_schema

* Full coverage
2022-11-29 16:48:51 +01:00
Franck Nijhof
a69e0defe6
Use device class enum instead of string (#82935) 2022-11-29 16:40:59 +01:00
epenet
2d7701cab5
Use SchemaOptionsFlowHandler in openuv (#82494)
* Use suggested_values helper in openuv

* Use SchemaOptionsFlowHandler
2022-11-29 16:14:32 +01:00
iridris
2173075004
Bump pycsspeechtts to v1.0.8 (#82922) 2022-11-29 16:06:44 +01:00
Marvin Wichmann
211dd64df1
Update xknx to 2.1.0 (#82930) 2022-11-29 16:03:03 +01:00
Mick Vleeshouwer
9a2b608d85
Bump pyoverkiz to 1.7.1 (#82925) 2022-11-29 16:00:52 +01:00
Franck Nijhof
f9364c4e01
Fix 4 misconfigured sensor entity descriptions in Tuya (#82933) 2022-11-29 15:54:48 +01:00
Franck Nijhof
a3b346b560
Trigger full CI on Text integration changes (#82907) 2022-11-29 15:49:10 +01:00
Duco Sebel
982966a3d9
Use device_registry for HomeWizard device_info (#82921)
* Use global device and use didentifiers to get device_info

* Remove unused config_entry
2022-11-29 14:30:22 +01:00
Matrix
f0b979556c
Add YoLink MultiOutlet support (#82622) 2022-11-29 14:10:38 +01:00
Franck Nijhof
412c12b992
Improve device class handling in ESPHome (#82923) 2022-11-29 14:07:56 +01:00
Franck Nijhof
9805d8a6cc
Fix device class typing in Universal Devices ISY994 (#82924) 2022-11-29 14:07:30 +01:00
north3221
d8a7336a3f
Remove as codeowner for tado (#82919) 2022-11-29 13:58:53 +01:00
Marc Mueller
79b400d71b
Improve PluggableActionsEntry typing (#82885)
* Improve PluggableActionsEntry typing

* Add parameter typing
2022-11-29 13:37:22 +01:00
epenet
f8e1cb5bcf
Use SchemaOptionsFlowHandler in balboa (#82899)
* Use SchemaOptionsFlowHandler in balboa

* Make CONF_SYNC_TIME required
2022-11-29 13:37:05 +01:00
epenet
e6333c15eb
Use SchemaOptionsFlowHandler in bluetooth (#82900) 2022-11-29 13:36:50 +01:00
epenet
23831d746e
Add ability to remove sensors in scrape config flow (#82912)
* Add ability to remove sensors in scrape config flow

* Add test

* Cleanup registry

* Cleanup

* Adjust comments

* Fix bad cleanup
2022-11-29 13:36:33 +01:00
Thijs W
ce1b2f45c7
Add BROWSE_MEDIA support to frontier_silicon (#74950)
* Add BROWSE_MEDIA support to frontier_silicon

* Address review comments

* Don't use mediatype to differentiate between channels and presets
2022-11-29 13:31:49 +01:00
Erik Montnemery
7ebd279e14
Tweak pytest-durations CI parameters (#82918) 2022-11-29 13:30:26 +01:00
Olen
424febbbed
Remove twinkly debug-logging (#82915)
Remove debug-logging

Removing a few debug logging statements
2022-11-29 13:01:43 +01:00
J. Nick Koston
d885e45ebb
Bump bluetooth-auto-recovery to 0.5.3 (#82909) 2022-11-29 12:50:54 +01:00
Pascal Vizeli
e5c48edddd
Bump aioecowitt to 2022.11.0 (#82913) 2022-11-29 12:48:07 +01:00
Erik Montnemery
a888ce9282
Increase timeout of MariaDB CI job (#82911) 2022-11-29 12:37:57 +01:00
mlemainque
060102832e
Update daikin sensors (#82441)
fixes undefined
2022-11-29 11:47:03 +01:00
Olen
33cd59d3c2
Add Twinkly effects (#82861)
* Add Twinkly effects

* Remove spurious comment
2022-11-29 11:15:30 +01:00
hahn-th
9f8dea10f7
Add support for HmIP-eTRV-E to homematicip_cloud (#82876)
* Add device HmIP-eTRV-E

* Fix test
2022-11-29 11:13:53 +01:00
epenet
987c7a28a9
Add tests for suggested_values in SchemaFlowFormStep (#82906)
* Add tests

* Add test for merging user input
2022-11-29 11:09:12 +01:00
Christopher Bailey
596016c2ac
Add new features from new UniFi Protect (#82892)
Co-authored-by: J. Nick Koston <nick@koston.org>
2022-11-28 23:44:31 -10:00
an0nfunc
a5890b2374
Support xiaomi_miio Smartmi Air Purifier (zhimi.airpurifier.za1) (#80387) 2022-11-29 10:29:34 +01:00
J. Nick Koston
f88487be25
Bump yalexs-ble to 1.9.7 (#82888) 2022-11-29 10:27:28 +01:00