{ "config": { "abort": { "already_configured": "[%key:common::config_flow::abort::already_configured_device%]" }, "error": { "cannot_connect": "[%key:common::config_flow::error::cannot_connect%]", "cannot_open_serial_port": "Failed to open the serial port" }, "step": { "modbus_tcp": { "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 Modbus gateway or device.", "port": "The TCP port the Modbus gateway listens on (default 502)." }, "title": "Modbus TCP" }, "serial": { "data": { "baudrate": "Baud rate", "bytesize": "Byte size", "device": "[%key:common::config_flow::data::device%]", "parity": "Parity", "stopbits": "Stop bits" }, "data_description": { "baudrate": "The serial baud rate the device communicates at.", "bytesize": "The number of data bits.", "device": "The serial port the Modbus device is connected to, e.g. /dev/ttyUSB0.", "parity": "The serial parity.", "stopbits": "The number of stop bits." }, "title": "Serial connection" }, "user": { "description": "How is the Modbus network connected?", "menu_options": { "modbus_tcp": "Modbus TCP", "serial": "Serial (including serial proxies and networked connections)" } } } }, "exceptions": { "connection_not_ready": { "message": "Modbus connection not ready" } }, "selector": { "parity": { "options": { "e": "Even", "n": "None", "o": "Odd" } } } }