Jan Bouwhuis
8a8732f0bc
Strict type hints for MQTT integration ( #82317 )
...
* Strict type hints for MQTT integration
* Fix errors
* Additional corrections
* Use cv.template to avoid untyped calls
* Enable strict typing policy for MQTT integration
* Use ignore[no-untyped-call]
* Use # type: ignore[unreachable]
* Correct cast
* Refactor getting discovery_payload
* Remove unused type ignore comments
2022-11-24 08:25:44 +01:00
epenet
697b5db3f2
Migrate precipitation units to an enum ( #81143 )
2022-11-24 08:23:30 +01:00
Joakim Sørensen
621068211f
Do not delete issue when aborting repairs fix flow ( #82593 )
...
* Do not delete issue when aborting repairs fix flow
* lint
* types
2022-11-24 08:21:54 +01:00
mkmer
ae07e2a9a8
Add reauth config flow to Whirlpool ( #82532 )
...
* Add ReauthFlow
* Update homeassistant/components/whirlpool/config_flow.py
Darn it - thought I caught all of these.
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
* Update homeassistant/components/whirlpool/config_flow.py
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
* Update homeassistant/components/whirlpool/config_flow.py
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
* Update homeassistant/components/whirlpool/config_flow.py
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
* Update homeassistant/components/whirlpool/config_flow.py
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
* Update homeassistant/components/whirlpool/config_flow.py
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
Co-authored-by: Abílio Costa <abmantis@users.noreply.github.com >
2022-11-23 19:40:33 -08:00
GitHub Action
33d391a110
[ci skip] Translation update
2022-11-24 00:26:32 +00:00
Maciej Bieniek
845bcf3f7d
Translate PowerOff state of select entity in Harmony integration ( #77491 )
...
* Add custom device_class for select entity
* Update tests
* Make the state PowerOff translatable
* Update strings.select.json file
* add select.en.json
Co-authored-by: J. Nick Koston <nick@koston.org >
2022-11-24 00:08:43 +01:00
epenet
d7f0b904d0
Add type to template function ( #82564 )
2022-11-23 21:50:45 +01:00
Kevin Stillhammer
f43f0c4bcc
Use assignment expression for alexa init ( #81242 )
2022-11-23 20:54:16 +01:00
Joakim Plate
8bd4125390
Test corrections noticed during pytest upgrade ( #82579 )
...
* Withing trigger a call to coordinator after init
* Stop discovery task on STOP event
* Stop dsmr connection task on STOP
* Use autospec in modem_serial tests
close on AioSerial is non async, and should not be mocked as a coroutine
* Make sure responder is specced correctly
tests/components/emulated_hue/test_init.py::test_setup_works
/Users/joakim/src/hass/home-assistant/homeassistant/components/emulated_hue/__init__.py:119: RuntimeWarning: coroutine 'AsyncMockMixin._execute_mock_call' was never awaited
protocol.close()
* Don't assume Pymodbus is the only thing logging
* Use gather instead of wait
```
homeassistant/components/homeassistant/__init__.py:208: DeprecationWarning: The explicit passing of coroutine objects to asyncio.wait() is deprecated since Python 3.8, and scheduled for removal in Python 3.11.
```
* Increase wait time for automation tests
Assuming exit within 1 seconds is unreasonable on a potentially loaded
test machine.
* Avoid changing app state after startup
2022-11-23 20:53:28 +01:00
Joakim Plate
25c7754edb
Upgrade arcam_fmj to entity naming ( #82586 )
2022-11-23 20:36:17 +01:00
Álvaro Fernández Rojas
f1ffb25d99
Add Airzone DHCP discovery support ( #82339 )
2022-11-23 12:32:23 -07:00
epenet
f91e250e90
Fix TemplateError definition ( #82570 )
2022-11-23 20:30:32 +01:00
epenet
6b85d17e7c
Add type hints to template tests ( #82566 )
2022-11-23 20:28:52 +01:00
Jan Bouwhuis
23bc39b7f4
Add type hints on Template().__init__() ( #82574 )
2022-11-23 20:26:55 +01:00
Tom Schneider
27e6b69656
Add yamaha brand configuration ( #81267 )
...
Co-authored-by: Franck Nijhof <git@frenck.dev >
2022-11-23 20:19:20 +01:00
G Johansson
8704f1aa47
Fully type min_max ( #79496 )
2022-11-23 19:54:12 +01:00
Aarni Koskela
97b40b5f49
Make hassfest strictly typed ( #82091 )
2022-11-23 19:05:31 +01:00
Franck Nijhof
0b5357de44
Cleanup Climacell translations ( #82584 )
2022-11-23 17:49:59 +01:00
Duco Sebel
a969f69fd5
Add support for controlling HomeWizard Energy Socket status light level ( #82378 )
...
* Add control option for Energy Socket status LED
* Add tests for number
* Fix failing tests in switch
* Fix comments
* Adjust name
* Simplify device_info
2022-11-23 11:47:32 -05:00
epenet
aa02a53ac6
Add type hints to template states ( #82582 )
...
* Add type hints to template states
* Undo rename
* Remove invalid mypy issue link
2022-11-23 17:46:51 +01:00
Matrix
95cbf7cca7
Add yolink Dimmer support ( #81970 )
...
* Add yolink Dimmer support
* suggest change
* fix suggest
* fix suggest
* fix suggest
2022-11-23 16:27:51 +01:00
Jan Bouwhuis
4f3919cb95
Move mqtt device_tracker files ( #82581 )
...
Move mqtt device_tracker files to single file
2022-11-23 16:24:56 +01:00
Joakim Plate
a55fb445b0
Bump to Arcam 1.0.1 and make strictly typed ( #82487 )
...
* Make arcam_fmj strictly typed
* Add test for invalid UDN
2022-11-23 16:23:25 +01:00
Jan Bouwhuis
32d68f375b
Add Mqtt WebSockets support ( #82078 )
...
* Add Mqtt WebSockets support
* Fix tests
* Add testing websockets options
* Add tests transport settings
* Do not use templates for ws_headers
* Use json helper - small corrections
2022-11-23 15:03:31 +01:00
Franck Nijhof
4ea9926497
Not to Tox ( #76582 )
2022-11-23 14:40:37 +01:00
Joakim Sørensen
3738135e0b
Add helper to access RepairsFlowManager ( #82567 )
...
async_external_step
2022-11-23 12:00:38 +01:00
Hessel
c68149c75b
Fix Wallbox price unit ( #82420 )
...
* Change Symbol to Currency code in test
* change unit to currency/kWh
* f string
2022-11-23 11:25:21 +01:00
J. Nick Koston
188cdd1bac
Ensure esphome client tasks await cancelation ( #82547 )
2022-11-23 10:07:05 +01:00
GitHub Action
eaf6d43508
[ci skip] Translation update
2022-11-23 00:26:26 +00:00
Jc2k
f20c8c657a
Fix HomeKit CoAP connection getting RST incorrectly ( #82553 )
2022-11-23 00:05:40 +00:00
Jesse Hills
7c36f1409d
Bump aioesphomeapi to 12.0.0 ( #82543 )
2022-11-22 13:45:40 -06:00
epenet
22f6a72694
Improve type hints in acmedia config flow ( #82534 )
2022-11-22 16:14:08 +01:00
Álvaro Fernández Rojas
00afcffbf9
Abort before trying to connect in QNAP QSW DHCP discovery when already configured ( #82362 )
2022-11-22 09:12:33 -06:00
Shay Levy
4a089b5c28
Add tests coverage for Shelly climate platform ( #82529 )
2022-11-22 09:04:55 -06:00
Jan Bouwhuis
9c1e8486c5
Add unique id option for mqtt_room sensors ( #82521 )
...
Add unique_id setting for mqtt_room
2022-11-22 15:56:31 +01:00
Jevgeni Kiski
157222126e
Add Vallox temperature control entities ( #75858 )
...
Co-authored-by: Sebastian Lövdahl <slovdahl@hibox.fi >
Co-authored-by: Andre Richter <andre-richter@users.noreply.github.com >
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
2022-11-22 12:46:57 +01:00
epenet
687d162a94
Fix incorrect type hint in SchemaOptionsFlow ( #82516 )
2022-11-22 12:45:35 +01:00
epenet
9d192643ee
Move PluggableAction to trigger helpers ( #81900 )
...
Co-authored-by: Martin Hjelmare <marhje52@gmail.com >
Co-authored-by: Joakim Plate <elupus@ecce.se >
Co-authored-by: Shay Levy <levyshay1@gmail.com >
2022-11-22 11:35:18 +01:00
Erik Montnemery
b566d55998
Sort ignore-words-list ( #82520 )
2022-11-22 11:26:53 +01:00
Erik Montnemery
be7e76f302
Migrate ZHA when enabling multi-PAN support on HA Yellow ( #82213 )
...
* Migrate ZHA when enabling multi-PAN support on HA Yellow
* Refactor BaseZhaFlow.async_step_maybe_confirm_ezsp_restore
* Change data passed to ZHA to initiate migration
* Catch errors during ZHA migration
* Fix ZhaMigrationHelper.async_prepare_yellow_migration return value
* Improve test coverage
* Improve test coverage
* Fix spelling
* Rename some none HA yellow specifics
* Rename again
* Increase number of migration retries + refactor
* Suppress OperationNotAllowed when reloading
* Adjust tests
2022-11-22 11:17:23 +01:00
jan iversen
15176300e2
Add full test of wrap option ( #82308 )
...
fixes undefined
2022-11-22 09:57:04 +01:00
Guido Schmitz
1e64d830ac
Migrate devolo Home Control to new entity naming ( #74969 )
2022-11-22 09:54:05 +01:00
Aarni Koskela
e4c73259f7
Configure autoflake for pre-commit ( #82414 )
2022-11-22 08:10:36 +01:00
epenet
bf3c6e5f58
Enforce VacuumEntityFeature ( #82466 )
2022-11-22 07:27:27 +01:00
epenet
4134d722da
Enforce WaterHeaterEntityFeature ( #82467 )
2022-11-22 07:27:09 +01:00
epenet
ab26ea06b9
Enforce UpdateEntityFeature ( #82465 )
2022-11-22 07:16:53 +01:00
epenet
ff5f1aee53
Enforce SirenEntityFeature ( #82464 )
2022-11-22 07:16:29 +01:00
epenet
0cb3ec142e
Enforce RemoteEntityFeature ( #82463 )
2022-11-22 07:16:03 +01:00
epenet
6f05a74686
Enforce MediaPlayerEntityFeature ( #82462 )
2022-11-22 07:15:37 +01:00
epenet
a225fc456f
Enforce LockEntityFeature ( #82461 )
2022-11-22 07:15:11 +01:00