mirror of
https://github.com/home-assistant/core.git
synced 2026-08-06 21:35:13 +01:00
* Add wemo options enable_subscription & enable_long_press * Also add polling_interval_seconds option * Give feedback about invalid option combinations * Use a frozen dataclass for Options * Validate polling_interval_seconds * Describe message arg * Replace broad exception with PyWeMoException
35 lines
1.0 KiB
JSON
35 lines
1.0 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"confirm": {
|
|
"description": "Do you want to set up Wemo?"
|
|
}
|
|
},
|
|
"abort": {
|
|
"single_instance_allowed": "[%key:common::config_flow::abort::single_instance_allowed%]",
|
|
"no_devices_found": "[%key:common::config_flow::abort::no_devices_found%]"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"data": {
|
|
"enable_subscription": "Subscribe to device local push updates",
|
|
"enable_long_press": "Register for device long-press events",
|
|
"polling_interval_seconds": "Seconds to wait between polling the device"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"long_press_requires_subscription": "Local push update subscriptions must be enabled to use long-press events",
|
|
"polling_interval_to_small": "Polling more frequently than 10 seconds is not supported",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
}
|
|
},
|
|
"device_automation": {
|
|
"trigger_type": {
|
|
"long_press": "Wemo button was pressed for 2 seconds"
|
|
}
|
|
}
|
|
}
|