hass-core/homeassistant
RenierM26 b15f11f46a
Discover Switchbot MAC in config flow (#56616)
* Update config_flow.py

* Switchbot Config_flow discover mac instead of needing to type it.

* Do not show already configured devices in config flow, abort if no unconfigured devices.

* Apply suggestions from code review

Co-authored-by: J. Nick Koston <nick@koston.org>

* Move MAC to top of config flow form dict.

* Update homeassistant/components/switchbot/config_flow.py

Co-authored-by: J. Nick Koston <nick@koston.org>
2021-09-27 15:12:40 -05:00
..
auth Use assignment expressions 01 (#56394) 2021-09-18 13:31:35 -10:00
components Discover Switchbot MAC in config flow (#56616) 2021-09-27 15:12:40 -05:00
generated Rework TPLink integration to use python-kasa (#56701) 2021-09-27 14:11:55 -05:00
helpers Add is_number template filter and function (#56705) 2021-09-27 10:47:57 +02:00
scripts Upgrade colorlog to 6.4.1 (#56573) 2021-09-23 16:12:13 +02:00
util Use assignment expressions 01 (#56394) 2021-09-18 13:31:35 -10:00
__init__.py
__main__.py Use assignment expressions 01 (#56394) 2021-09-18 13:31:35 -10:00
block_async_io.py
bootstrap.py Use assignment expressions 01 (#56394) 2021-09-18 13:31:35 -10:00
config.py Use assignment expressions 01 (#56394) 2021-09-18 13:31:35 -10:00
config_entries.py Use assignment expressions 01 (#56394) 2021-09-18 13:31:35 -10:00
const.py Add date device class (#55887) 2021-09-07 16:46:12 +02:00
core.py typo (#56477) 2021-09-21 15:09:21 +01:00
data_entry_flow.py Use assignment expressions 01 (#56394) 2021-09-18 13:31:35 -10:00
exceptions.py Avoid some implicit generic Anys (#54577) 2021-08-16 23:12:06 +02:00
loader.py Bump awesomeversion to 21.8.1 (#55817) 2021-09-11 11:40:46 -07:00
package_constraints.txt Upgrade requests to 2.26.0 (#56683) 2021-09-26 21:44:28 -05:00
requirements.py Avoid checking if a package is installed if it already failed (#56698) 2021-09-26 22:32:25 -07:00
runner.py Avoid deadlock on shutdown when a task is shielded from cancelation (#56499) 2021-09-21 14:35:14 -07:00
setup.py Use assignment expressions 01 (#56394) 2021-09-18 13:31:35 -10:00
strings.json