* Create option flow for Rfxtrx integration (#37982) * Implement config flow for rfxtrx integration (#39299) * Add config flow * Add strings * Add first series of tests * Add tests * Adjust tests according review comments * Adjust strings * Add executor for testing connection * Change ports to dict * Fix pylint issue * Adjust tests * Migrate config entry for rfxtrx integration (#39528) * Add rfxtrx device connection validation when importing (#39582) * Implement import connection validation * Fix binary sensor tests * Move rfxtrx data * Fix cover tests * Fix test init * Fix light tests * Fix sensor tests * Fix switch tests * Refactor rfxtrx test data * Fix strings * Fix check * Rework device string in test code * Add option to delete multiple rfxtrx devices (#39625) * Opt to remove multiple devices * Fix devices key * Add tests (phase 1) * Add tests (phase 2) * Tweak remove devices test * Implement device migration function in rfxtrx option flow (#39694) * Prompt option to replace device * Revert unwanted changes * Add replace device function * WIP replace entities * Remove device/entities and update config entry * Fix styling * Add info * Add test * Fix strings * Refactor building migration map * Allow migration for all device types * Add test to migrate control device * Fixup some names * Fixup entry names in test code * Bump pyRFXtrx to 0.26 and deprecate debug config key (#40679) * Create option flow for Rfxtrx integration (#37982) * Implement config flow for rfxtrx integration (#39299) * Add config flow * Add strings * Add first series of tests * Add tests * Adjust tests according review comments * Adjust strings * Add executor for testing connection * Change ports to dict * Fix pylint issue * Adjust tests * Migrate config entry for rfxtrx integration (#39528) * Add rfxtrx device connection validation when importing (#39582) * Implement import connection validation * Fix binary sensor tests * Move rfxtrx data * Fix cover tests * Fix test init * Fix light tests * Fix sensor tests * Fix switch tests * Refactor rfxtrx test data * Fix strings * Fix check * Rework device string in test code * Add option to delete multiple rfxtrx devices (#39625) * Opt to remove multiple devices * Fix devices key * Add tests (phase 1) * Add tests (phase 2) * Tweak remove devices test * Implement device migration function in rfxtrx option flow (#39694) * Prompt option to replace device * Revert unwanted changes * Add replace device function * WIP replace entities * Remove device/entities and update config entry * Fix styling * Add info * Add test * Fix strings * Refactor building migration map * Allow migration for all device types * Add test to migrate control device * Fixup some names * Fixup entry names in test code * Bump version number * Remove debug key from connect * Remove debug option from config flow * Remove debug from tests * Fix event test * Add cv.deprecated * Fix test * Fix config schema * Add timeout on connection * Rework config schema * Fix schema...again * Prevent creation of duplicate device in rfxtrx option flow (#40656)
75 lines
2.3 KiB
JSON
75 lines
2.3 KiB
JSON
{
|
|
"title": "Rfxtrx",
|
|
"config": {
|
|
"abort": {
|
|
"already_configured": "[%key:common::config_flow::abort::single_instance_allowed%]",
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
|
},
|
|
"error": {
|
|
"cannot_connect": "[%key:common::config_flow::error::cannot_connect%]"
|
|
},
|
|
"step": {
|
|
"user": {
|
|
"data": {
|
|
"type": "Connection type"
|
|
},
|
|
"title": "Select connection type"
|
|
},
|
|
"setup_network": {
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]",
|
|
"port": "[%key:common::config_flow::data::port%]"
|
|
},
|
|
"title": "Select connection address"
|
|
},
|
|
"setup_serial": {
|
|
"data": {
|
|
"device": "Select device"
|
|
},
|
|
"title": "Device"
|
|
},
|
|
"setup_serial_manual_path": {
|
|
"data": {
|
|
"device": "[%key:common::config_flow::data::usb_path%]"
|
|
},
|
|
"title": "Path"
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"step": {
|
|
"prompt_options": {
|
|
"data": {
|
|
"debug": "Enable debugging",
|
|
"automatic_add": "Enable automatic add",
|
|
"event_code": "Enter event code to add",
|
|
"device": "Select device to configure",
|
|
"remove_device": "Select device to delete"
|
|
},
|
|
"title": "Rfxtrx Options"
|
|
},
|
|
"set_device_options": {
|
|
"data": {
|
|
"fire_event": "Enable device event",
|
|
"off_delay": "Off delay",
|
|
"off_delay_enabled": "Enable off delay",
|
|
"data_bit": "Number of data bits",
|
|
"command_on": "Data bits value for command on",
|
|
"command_off": "Data bits value for command off",
|
|
"signal_repetitions": "Number of signal repetitions",
|
|
"replace_device": "Select device to replace"
|
|
},
|
|
"title": "Configure device options"
|
|
}
|
|
},
|
|
"error": {
|
|
"already_configured_device": "[%key:common::config_flow::abort::already_configured_device%]",
|
|
"invalid_event_code": "Invalid event code",
|
|
"invalid_input_2262_on": "Invalid input for command on",
|
|
"invalid_input_2262_off": "Invalid input for command off",
|
|
"invalid_input_off_delay": "Invalid input for off delay",
|
|
"unknown": "[%key:common::config_flow::error::unknown%]"
|
|
}
|
|
}
|
|
}
|