294 lines
12 KiB
JSON
294 lines
12 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%]",
|
|
"port": "[%key:common::config_flow::data::port%]"
|
|
},
|
|
"data_description": {
|
|
"host": "The hostname or IP address of the Shelly device to connect to.",
|
|
"port": "The TCP port of the Shelly device to connect to (Gen2+)."
|
|
}
|
|
},
|
|
"credentials": {
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
},
|
|
"data_description": {
|
|
"username": "Username for the device's web panel.",
|
|
"password": "Password for the device's web panel."
|
|
}
|
|
},
|
|
"reauth_confirm": {
|
|
"data": {
|
|
"username": "[%key:common::config_flow::data::username%]",
|
|
"password": "[%key:common::config_flow::data::password%]"
|
|
},
|
|
"data_description": {
|
|
"username": "[%key:component::shelly::config::step::credentials::data_description::username%]",
|
|
"password": "[%key:component::shelly::config::step::credentials::data_description::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."
|
|
},
|
|
"reconfigure": {
|
|
"description": "Update configuration for {device_name}.\n\nBefore 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%]",
|
|
"port": "[%key:common::config_flow::data::port%]"
|
|
},
|
|
"data_description": {
|
|
"host": "[%key:component::shelly::config::step::user::data_description::host%]",
|
|
"port": "[%key:component::shelly::config::step::user::data_description::port%]"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"custom_port_not_supported": "Gen1 device does not support custom port.",
|
|
"invalid_auth": "[%key:common::config_flow::error::invalid_auth%]",
|
|
"invalid_host": "[%key:common::config_flow::error::invalid_host%]",
|
|
"mac_address_mismatch": "The MAC address of the device does not match the one in the configuration, please reboot the device and try again.",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
},
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"another_device": "Re-configuration was unsuccessful, the IP address/hostname of another Shelly device was used.",
|
|
"firmware_not_fully_provisioned": "Device not fully provisioned. Please contact Shelly support",
|
|
"ipv6_not_supported": "IPv6 is not supported.",
|
|
"mac_address_mismatch": "[%key:component::shelly::config::error::mac_address_mismatch%]",
|
|
"reauth_successful": "[%key:common::config_flow::abort::reauth_successful%]",
|
|
"reauth_unsuccessful": "Re-authentication was unsuccessful, please remove the integration and set it up again.",
|
|
"reconfigure_successful": "[%key:common::config_flow::abort::reconfigure_successful%]"
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
"data_description": {
|
|
"ble_scanner_mode": "The scanner mode to use for Bluetooth scanning."
|
|
}
|
|
}
|
|
},
|
|
"abort": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"no_scripts_support": "Device does not support scripts and cannot be used as a Bluetooth scanner.",
|
|
"zigbee_enabled": "Device with Zigbee enabled cannot be used as a Bluetooth scanner. Please disable it to use the device as a Bluetooth scanner."
|
|
}
|
|
},
|
|
"selector": {
|
|
"ble_scanner_mode": {
|
|
"options": {
|
|
"disabled": "[%key:common::state::disabled%]",
|
|
"active": "[%key:common::state::active%]",
|
|
"passive": "Passive"
|
|
}
|
|
}
|
|
},
|
|
"entity": {
|
|
"binary_sensor": {
|
|
"gas": {
|
|
"state_attributes": {
|
|
"detected": {
|
|
"state": {
|
|
"none": "None",
|
|
"mild": "Mild",
|
|
"heavy": "Heavy",
|
|
"test": "Test"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"event": {
|
|
"input": {
|
|
"state_attributes": {
|
|
"event_type": {
|
|
"state": {
|
|
"btn_down": "Button down",
|
|
"btn_up": "Button up",
|
|
"double_push": "Double push",
|
|
"double": "Double push",
|
|
"long_push": "Long push",
|
|
"long_single": "Long push and then short push",
|
|
"long": "Long push",
|
|
"single_long": "Short push and then long push",
|
|
"single_push": "Single push",
|
|
"single": "Single push",
|
|
"triple_push": "Triple push",
|
|
"triple": "Triple push"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"sensor": {
|
|
"gas_detected": {
|
|
"state": {
|
|
"none": "None",
|
|
"mild": "Mild",
|
|
"heavy": "Heavy",
|
|
"test": "Test"
|
|
},
|
|
"state_attributes": {
|
|
"options": {
|
|
"state": {
|
|
"none": "[%key:component::shelly::entity::sensor::gas_detected::state::none%]",
|
|
"mild": "[%key:component::shelly::entity::sensor::gas_detected::state::mild%]",
|
|
"heavy": "[%key:component::shelly::entity::sensor::gas_detected::state::heavy%]",
|
|
"test": "[%key:component::shelly::entity::sensor::gas_detected::state::test%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"operation": {
|
|
"state": {
|
|
"warmup": "Warm-up",
|
|
"normal": "[%key:common::state::normal%]",
|
|
"fault": "[%key:common::state::fault%]"
|
|
},
|
|
"state_attributes": {
|
|
"self_test": {
|
|
"state": {
|
|
"not_completed": "[%key:component::shelly::entity::sensor::self_test::state::not_completed%]",
|
|
"completed": "[%key:component::shelly::entity::sensor::self_test::state::completed%]",
|
|
"running": "[%key:component::shelly::entity::sensor::self_test::state::running%]",
|
|
"pending": "[%key:component::shelly::entity::sensor::self_test::state::pending%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"self_test": {
|
|
"state": {
|
|
"not_completed": "Not completed",
|
|
"completed": "Completed",
|
|
"running": "Running",
|
|
"pending": "Pending"
|
|
},
|
|
"state_attributes": {
|
|
"options": {
|
|
"state": {
|
|
"not_completed": "[%key:component::shelly::entity::sensor::self_test::state::not_completed%]",
|
|
"completed": "[%key:component::shelly::entity::sensor::self_test::state::completed%]",
|
|
"running": "[%key:component::shelly::entity::sensor::self_test::state::running%]",
|
|
"pending": "[%key:component::shelly::entity::sensor::self_test::state::pending%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"valve_status": {
|
|
"state": {
|
|
"checking": "Checking",
|
|
"closed": "[%key:common::state::closed%]",
|
|
"closing": "[%key:common::state::closing%]",
|
|
"failure": "Failure",
|
|
"opened": "Opened",
|
|
"opening": "[%key:common::state::opening%]"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"exceptions": {
|
|
"auth_error": {
|
|
"message": "Authentication failed for {device}, please update your credentials"
|
|
},
|
|
"device_communication_error": {
|
|
"message": "Device communication error occurred for {device}"
|
|
},
|
|
"device_communication_action_error": {
|
|
"message": "Device communication error occurred while calling action for {entity} of {device}"
|
|
},
|
|
"device_not_found": {
|
|
"message": "{device} not found while configuring device automation triggers"
|
|
},
|
|
"firmware_unsupported": {
|
|
"message": "{device} is running an unsupported firmware, please update the firmware"
|
|
},
|
|
"invalid_trigger": {
|
|
"message": "Invalid device automation trigger (type, subtype): {trigger}"
|
|
},
|
|
"ota_update_connection_error": {
|
|
"message": "Device communication error occurred while triggering OTA update for {device}"
|
|
},
|
|
"ota_update_rpc_error": {
|
|
"message": "RPC call error occurred while triggering OTA update for {device}"
|
|
},
|
|
"rpc_call_action_error": {
|
|
"message": "RPC call error occurred while calling action for {entity} of {device}"
|
|
},
|
|
"update_error": {
|
|
"message": "An error occurred while retrieving data from {device}"
|
|
},
|
|
"update_error_device_disconnected": {
|
|
"message": "An error occurred while retrieving data from {device} because it is disconnected"
|
|
},
|
|
"update_error_reconnect_error": {
|
|
"message": "An error occurred while reconnecting to {device}"
|
|
},
|
|
"update_error_sleeping_device": {
|
|
"message": "Sleeping device did not update within {period} seconds interval"
|
|
}
|
|
},
|
|
"issues": {
|
|
"ble_scanner_firmware_unsupported": {
|
|
"title": "{device_name} is running unsupported firmware",
|
|
"fix_flow": {
|
|
"step": {
|
|
"confirm": {
|
|
"title": "{device_name} is running unsupported firmware",
|
|
"description": "Your Shelly device {device_name} with IP address {ip_address} is running firmware {firmware} and acts as BLE scanner with active mode. This firmware version is not supported for BLE scanner active mode.\n\nSelect **Submit** button to start the OTA update to the latest stable firmware version."
|
|
}
|
|
},
|
|
"abort": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]",
|
|
"update_not_available": "Device does not offer firmware update. Check internet connectivity (gateway, DNS, time) and restart the device."
|
|
}
|
|
}
|
|
},
|
|
"device_not_calibrated": {
|
|
"title": "Shelly device {device_name} is not calibrated",
|
|
"description": "Shelly device {device_name} with IP address {ip_address} requires calibration. To calibrate the device, it must be rebooted after proper installation on the valve. You can reboot the device in its web panel, go to 'Settings' > 'Device Reboot'."
|
|
},
|
|
"push_update_failure": {
|
|
"title": "Shelly device {device_name} push update failure",
|
|
"description": "Home Assistant is not receiving push updates from the Shelly device {device_name} with IP address {ip_address}. Check the CoIoT configuration in the web panel of the device and your network configuration."
|
|
},
|
|
"unsupported_firmware": {
|
|
"title": "Unsupported firmware for device {device_name}",
|
|
"description": "Your Shelly device {device_name} with IP address {ip_address} is running an unsupported firmware. Please update the firmware.\n\nIf the device does not offer an update, check internet connectivity (gateway, DNS, time) and restart the device."
|
|
}
|
|
}
|
|
}
|