123 lines
4.1 KiB
JSON
123 lines
4.1 KiB
JSON
{
|
|
"config": {
|
|
"flow_title": "{name}",
|
|
"step": {
|
|
"user": {
|
|
"description": "Before setup, battery-powered devices must be woken up, you can now wake the device up using a button on it.",
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]"
|
|
}
|
|
},
|
|
"credentials": {
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
}
|
|
},
|
|
"confirm_discovery": {
|
|
"description": "Do you want to set up the {model} at {host}?\n\nBattery-powered devices that are password protected must be woken up before continuing with setting up.\nBattery-powered devices that are not password protected will be added when the device wakes up, you can now manually wake the device up using a button on it or wait for the next data update from the device."
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]",
|
|
"firmware_not_fully_provisioned": "Device not fully provisioned. Please contact Shelly support"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"unsupported_firmware": "The device is using an unsupported firmware version.",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"reauth_unsuccessful": "Re-authentication was unsuccessful, please remove the integration and set it up again."
|
|
}
|
|
},
|
|
"device_automation": {
|
|
"trigger_subtype": {
|
|
"button": "Button",
|
|
"button1": "First button",
|
|
"button2": "Second button",
|
|
"button3": "Third button",
|
|
"button4": "Fourth button"
|
|
},
|
|
"trigger_type": {
|
|
"single": "{subtype} single clicked",
|
|
"double": "{subtype} double clicked",
|
|
"triple": "{subtype} triple clicked",
|
|
"long": "{subtype} long clicked",
|
|
"single_long": "{subtype} single clicked and then long clicked",
|
|
"long_single": "{subtype} long clicked and then single clicked",
|
|
"btn_down": "{subtype} button down",
|
|
"btn_up": "{subtype} button up",
|
|
"single_push": "{subtype} single push",
|
|
"double_push": "{subtype} double push",
|
|
"triple_push": "{subtype} triple push",
|
|
"long_push": "{subtype} long push"
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"init": {
|
|
"description": "Bluetooth scanning can be active or passive. With active, the Shelly requests data from nearby devices; with passive, the Shelly receives unsolicited data from nearby devices.",
|
|
"data": {
|
|
"ble_scanner_mode": "Bluetooth scanner mode"
|
|
}
|
|
}
|
|
},
|
|
"abort": {
|
|
"ble_unsupported": "Bluetooth support requires firmware version {ble_min_version} or newer."
|
|
}
|
|
},
|
|
"selector": {
|
|
"ble_scanner_mode": {
|
|
"options": {
|
|
"disabled": "Disabled",
|
|
"active": "Active",
|
|
"passive": "Passive"
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"binary_sensor": {
|
|
"gas": {
|
|
"state_attributes": {
|
|
"detected": {
|
|
"state": {
|
|
"unknown": "Unknown",
|
|
"none": "None",
|
|
"mild": "Mild",
|
|
"heavy": "Heavy",
|
|
"test": "Test"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sensor": {
|
|
"operation": {
|
|
"state": {
|
|
"unknown": "Unknown",
|
|
"warmup": "Warm-up",
|
|
"normal": "Normal",
|
|
"fault": "Fault"
|
|
},
|
|
"state_attributes": {
|
|
"self_test": {
|
|
"state": {
|
|
"not_completed": "Not completed",
|
|
"completed": "Completed",
|
|
"running": "Running",
|
|
"pending": "Pending"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|