Franck Nijhof
285aff154d
Remove Google Chat/Hangouts integration ( #82645 )
2022-11-24 18:33:13 +01:00
Erik Montnemery
8577310e6d
Fix show_menu support in SchemaFlowFormStep ( #82634 )
...
* Fix show_menu support in SchemaFlowFormStep
* Add test
* Fix test
2022-11-24 17:30:01 +01:00
Allen Porter
bba119affa
Bump gcal_sync to 4.0.3 ( #82606 )
...
fixes undefined
2022-11-24 17:01:20 +01:00
Rogelio Orts
bb517c269e
Add unknown tuya modes as presets ( #82056 )
...
Fixes https://github.com/home-assistant/core/issues/81681
fixes undefined
2022-11-24 16:28:43 +01:00
epenet
e386bab682
Add type hint to template wrapper ( #82563 )
...
* Add type to template hassfunction decorator
* Adjust to use EvalContext
* Use runtime.Context
* Use TypeVar for context
* Use jinja2.runtime.Context
* Reverse declarations
* Use Any
* Update homeassistant/helpers/template.py
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com >
Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com >
2022-11-24 15:30:21 +01:00
Joakim Sørensen
d0390860fb
Add repair abort flow to demo integration ( #82614 )
2022-11-24 14:54:41 +01:00
epenet
a856abf47f
Make async_options_flow_finished optional ( #82615 )
...
* Make async_options_flow_finished optional
* Adjust docstring
2022-11-24 14:43:40 +01:00
Marc Mueller
c0425619e2
Fix round typing [mqtt] ( #82629 )
2022-11-24 14:39:01 +01:00
epenet
ba18571cbe
Set last_step in SchemaCommonFlowHandler ( #82616 )
...
* Set last_step in SchemaCommonFlowHandler
* Always use boolean
* Adjust next_step definition
2022-11-24 14:37:55 +01:00
Marc Mueller
072bbcf203
Fix round typing [homewizard] ( #82628 )
2022-11-24 13:46:39 +01:00
epenet
4c38a5d773
Add OptionsFlow helper class ( #82531 )
...
* Add OptionsFlow helper classes
* More integrations
* Adjust SchemaOptionsFlowHandler
* Use single class
* Simplify access to options
* Reduce PR
* Make _options private
* Add test
2022-11-24 12:18:09 +01:00
Franck Nijhof
7f90fb1cd1
Merge branch 'master' into dev
2022-11-24 09:31:08 +01:00
epenet
b525259878
Add type hints to template result wrapper ( #82575 )
...
* Add type hints to template result wrapper
* Remove `ignore[call-arg]`
* Use tuple
* Alphabetise
2022-11-24 08:41:14 +01:00
On Freund
9dd1b85cbb
Allow device_attr and is_device_attr to be used as a filter and a test (respectively) ( #81924 )
...
Co-authored-by: Franck Nijhof <frenck@frenck.nl >
2022-11-24 08:31:17 +01:00
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