mirror of
https://github.com/home-assistant/core.git
synced 2026-09-28 02:18:10 -04:00
Swiss public transport config flow (#105648)
* add config flow * unit tests * yaml config import flow * change deprecation period and simply code * keep name for legacy yaml - removing the name now would break current implementations - it will be removed together with the deprectation of yaml config flow * improve error handling, simpler unique_id, cleanup * simplify issues for yaml import flow * improve typing and clean name handling * streamline unit tests - happy path + errors - mock opendata instead of aiohttp * parametrize unit tests * improve strings * add missing aborts * update coverage ignore * remove redundant test * minor clean up of constants
This commit is contained in:
@@ -475,6 +475,7 @@ FLOWS = {
|
||||
"sun",
|
||||
"sunweg",
|
||||
"surepetcare",
|
||||
"swiss_public_transport",
|
||||
"switchbee",
|
||||
"switchbot",
|
||||
"switchbot_cloud",
|
||||
|
||||
@@ -5613,7 +5613,7 @@
|
||||
"swiss_public_transport": {
|
||||
"name": "Swiss public transport",
|
||||
"integration_type": "hub",
|
||||
"config_flow": false,
|
||||
"config_flow": true,
|
||||
"iot_class": "cloud_polling"
|
||||
},
|
||||
"swisscom": {
|
||||
|
||||
Reference in New Issue
Block a user