8f2567f30d
* Add config_flow to shopping_list * Fix pylint unused import error * Use _abort_if_unique_id_configured * Remove SHOPPING_LIST const * Use const.py for DOMAIN and CONF_TYPE * Fix tests * Remove unchanged variable _errors * Revert CONF_TYPE (wrong usage) * Use consts in test * Remove import check * Remove data={} * Remove parameters and default values * Re-add data={}, because it's needed * Unique ID checks and reverts for default parameters * remove pylint comment * Remove block till done * Address change requests * Update homeassistant/components/shopping_list/strings.json Co-Authored-By: Quentame <polletquentin74@me.com> * Update homeassistant/components/shopping_list/strings.json Co-Authored-By: Quentame <polletquentin74@me.com> * Update tests/components/shopping_list/test_config_flow.py Co-Authored-By: Quentame <polletquentin74@me.com> * Update tests/components/shopping_list/test_config_flow.py Co-Authored-By: Quentame <polletquentin74@me.com> * Update tests/components/shopping_list/test_config_flow.py Co-Authored-By: Quentame <polletquentin74@me.com> * Update tests/components/shopping_list/test_config_flow.py Co-Authored-By: Quentame <polletquentin74@me.com> * Only test config_flow * Generate translations * Move data to end * @asyncio.coroutine --> async def, yield from --> await * @asyncio.coroutine --> async def, yield from --> await (tests) * Remove init in config flow * remove if not hass.config_entries.async_entries(DOMAIN) * Add DOMAIN not in config * Fix tests * Update homeassistant/components/shopping_list/config_flow.py Co-Authored-By: Paulus Schoutsen <paulus@home-assistant.io> * Fix tests * Update homeassistant/components/shopping_list/__init__.py Co-Authored-By: Martin Hjelmare <marhje52@gmail.com> Co-authored-by: Quentame <polletquentin74@me.com> Co-authored-by: Paulus Schoutsen <paulus@home-assistant.io> Co-authored-by: Martin Hjelmare <marhje52@gmail.com> |
||
---|---|---|
.. | ||
config_flows.py | ||
ssdp.py | ||
zeroconf.py |