This project is mirrored from https://github.com/home-assistant/core.git.
Pull mirroring updated .
- Jul 20, 2022
-
-
Franck Nijhof authored
-
Franck Nijhof authored
-
Franck Nijhof authored
-
starkillerOG authored
-
Erik Montnemery authored
* Create issues in demo integration * Add unfixable non-expiring issue * Update test * Adjust tests * update translations * add hassfest translation schema * Update homeassistant/components/demo/translations/en.json Co-authored-by:
Zack Barett <zackbarett@hey.com> * Rename Resolution Center -> Repairs * Update homeassistant/components/demo/strings.json Co-authored-by:
Zack Barett <zackbarett@hey.com> * Adjust hassfest to require description or fix_flow * Update homeassistant/components/demo/repairs.py Co-authored-by:
Martin Hjelmare <marhje52@gmail.com> * Update tests/components/demo/test_init.py Co-authored-by:
Martin Hjelmare <marhje52@gmail.com> * Add missing translation strings * black * Adjust repairs imports Co-authored-by:
Bram Kragten <mail@bramkragten.nl> Co-authored-by:
Franck Nijhof <git@frenck.dev> Co-authored-by:
Zack Barett <zackbarett@hey.com> Co-authored-by:
Martin Hjelmare <marhje52@gmail.com>
-
Franck Nijhof authored
-
Franck Nijhof authored
-
Pascal Winters authored
-
Zach Berger authored
-
Franck Nijhof authored
-
Marc Mueller authored
-
Jan Bouwhuis authored
Co-authored-by:
Erik <erik@montnemery.com>
-
Franck Nijhof authored
Co-authored-by:
Martin Hjelmare <marhje52@gmail.com>
-
Franck Nijhof authored
-
Franck Nijhof authored
-
Franck Nijhof authored
-
Franck Nijhof authored
-
Franck Nijhof authored
-
Franck Nijhof authored
-
Franck Nijhof authored
-
Aaron Bach authored
-
Aaron Bach authored
-
Raman Gupta authored
-
uvjustin authored
-
Marc Mueller authored
* Fix bluetooth service_info typing * Remove additional type ignores * Remove pylint disable
-
Marc Mueller authored
* Improve entity_platform helper typing * Add protocol class * Apply suggestions from code review Co-authored-by:
Martin Hjelmare <marhje52@gmail.com> Co-authored-by:
Martin Hjelmare <marhje52@gmail.com>
-
J. Nick Koston authored
It turns out we do not need these are we can check the discovered device list to see if bluez is still seeing the device
-
Marc Mueller authored
* Improve dispatcher helper typing * Code review
-
Marc Mueller authored
-
Marc Mueller authored
-
mkmer authored
* Disable battery_level by default * Removed async_setup_compnent, renamed constant.
-
Marc Mueller authored
-
Marc Mueller authored
-
Marc Mueller authored
-
GitHub Action authored
-
- Jul 19, 2022
-
-
Marc Mueller authored
-
Teemu R authored
* Bump python-miio to 0.5.12 * Fix imports
-
Marc Mueller authored
-
J. Nick Koston authored
Avoid converting discovery_info dataclasses to dict that will be thrown away in config flows (#75451) * Avoid converting BluetoothServiceInfo to a dict for default discovery Fixes ``` 2022-07-19 09:46:48.303 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/Users/bdraco/home-assistant/homeassistant/helpers/discovery_flow.py", line 74, in _async_process_pending_flows await gather_with_concurrency( File "/Users/bdraco/home-assistant/homeassistant/util/async_.py", line 201, in gather_with_concurrency return await gather( File "/Users/bdraco/home-assistant/homeassistant/util/async_.py", line 199, in sem_task return await task File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 222, in async_init flow, result = await task File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 249, in _async_init result = await self._async_handle_step(flow, flow.init_step, data, init_done) File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 359, in _async_handle_step result: FlowResult = await getattr(flow, method)(user_input) File "/Users/bdraco/home-assistant/homeassistant/config_entries.py", line 1484, in async_step_bluetooth return await self.async_step_discovery(dataclasses.asdict(discovery_info)) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/dataclasses.py", line 1239, in asdict return _asdict_inner(obj, dict_factory) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/dataclasses.py", line 1246, in _asdict_inner value = _asdict_inner(getattr(obj, f.name), dict_factory) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/dataclasses.py", line 1280, in _asdict_inner return copy.deepcopy(obj) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 172, in deepcopy y = _reconstruct(x, memo, *rv) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 271, in _reconstruct state = deepcopy(state, memo) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 146, in deepcopy y = copier(x, memo) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 231, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 161, in deepcopy rv = reductor(4) TypeError: Cannot pickle Objective-C objects ``` * Avoid converting BluetoothServiceInfo to a dict for default discovery Fixes ``` 2022-07-19 09:46:48.303 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved Traceback (most recent call last): File "/Users/bdraco/home-assistant/homeassistant/helpers/discovery_flow.py", line 74, in _async_process_pending_flows await gather_with_concurrency( File "/Users/bdraco/home-assistant/homeassistant/util/async_.py", line 201, in gather_with_concurrency return await gather( File "/Users/bdraco/home-assistant/homeassistant/util/async_.py", line 199, in sem_task return await task File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 222, in async_init flow, result = await task File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 249, in _async_init result = await self._async_handle_step(flow, flow.init_step, data, init_done) File "/Users/bdraco/home-assistant/homeassistant/data_entry_flow.py", line 359, in _async_handle_step result: FlowResult = await getattr(flow, method)(user_input) File "/Users/bdraco/home-assistant/homeassistant/config_entries.py", line 1484, in async_step_bluetooth return await self.async_step_discovery(dataclasses.asdict(discovery_info)) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/dataclasses.py", line 1239, in asdict return _asdict_inner(obj, dict_factory) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/dataclasses.py", line 1246, in _asdict_inner value = _asdict_inner(getattr(obj, f.name), dict_factory) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/dataclasses.py", line 1280, in _asdict_inner return copy.deepcopy(obj) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 172, in deepcopy y = _reconstruct(x, memo, *rv) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 271, in _reconstruct state = deepcopy(state, memo) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 146, in deepcopy y = copier(x, memo) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 231, in _deepcopy_dict y[deepcopy(key, memo)] = deepcopy(value, memo) File "/opt/homebrew/Cellar/python@3.10/3.10.5/Frameworks/Python.framework/Versions/3.10/lib/python3.10/copy.py", line 161, in deepcopy rv = reductor(4) TypeError: Cannot pickle Objective-C objects ```
-
Marc Mueller authored
-