Files
core/homeassistant/components/zha/strings.json
Alexei Chetroi c71a7b901f New configuration flow for ZHA integration (#35161)
* Start gateway using new zigpy init.

Update config entry data  import.
Use new zigpy startup.
Fix config entry import without zha config section.
Auto form Zigbee network.

* Migrate config entry.

* New ZHA config entry flow.

Use lightweight probe() method for ZHA config entry validation when
available. Failback to old behavior of setting up Zigpy app if radio lib
does not provide probing.

* Clean ZHA_GW_RADIO

* Don't import ZHA device settings.

* Update config flow tests.

* Filter out empty manufacturer.

* Replace port path with an by-id device name.

* Rebase cleanup

* Use correct mock.

* Make lint happy again

* Update tests/components/zha/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/zha/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Update tests/components/zha/test_config_flow.py

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>

* Use executor pool for IO

* Address comments.

Use AsyncMock from tests.

* Use core interface to test config flow.

* Use core interface to test config_flow.

* Address comments. Use core interface.

* Update ZHA dependencies.

* Schema guard

* Use async_update_entry for migration.

* Don't allow schema extra keys.

Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
2020-05-06 12:23:53 +02:00

82 lines
3.4 KiB
JSON

{
"config": {
"step": {
"user": {
"title": "ZHA",
"data": { "path": "Serial Device Path" },
"description": "Select serial port for Zigbee radio"
},
"pick_radio": {
"data": { "radio_type": "Radio Type" },
"title": "Radio Type",
"description": "Pick a type of your Zigbee radio"
},
"port_config": {
"title": "Settings",
"description": "Enter port specific settings",
"data": {
"path": "Serial device path",
"baudrate": "port speed",
"flow_control": "data flow control"
}
}
},
"error": { "cannot_connect": "Unable to connect to ZHA device." },
"abort": {
"single_instance_allowed": "Only a single configuration of ZHA is allowed."
}
},
"device_automation": {
"action_type": { "squawk": "Squawk", "warn": "Warn" },
"trigger_type": {
"remote_button_short_press": "\"{subtype}\" button pressed",
"remote_button_short_release": "\"{subtype}\" button released",
"remote_button_long_press": "\"{subtype}\" button continuously pressed",
"remote_button_long_release": "\"{subtype}\" button released after long press",
"remote_button_double_press": "\"{subtype}\" button double clicked",
"remote_button_triple_press": "\"{subtype}\" button triple clicked",
"remote_button_quadruple_press": "\"{subtype}\" button quadruple clicked",
"remote_button_quintuple_press": "\"{subtype}\" button quintuple clicked",
"remote_button_alt_short_press": "\"{subtype}\" button pressed (Alternate mode)",
"remote_button_alt_short_release": "\"{subtype}\" button released (Alternate mode)",
"remote_button_alt_long_press": "\"{subtype}\" button continuously pressed (Alternate mode)",
"remote_button_alt_long_release": "\"{subtype}\" button released after long press (Alternate mode)",
"remote_button_alt_double_press": "\"{subtype}\" button double clicked (Alternate mode)",
"remote_button_alt_triple_press": "\"{subtype}\" button triple clicked (Alternate mode)",
"remote_button_alt_quadruple_press": "\"{subtype}\" button quadruple clicked (Alternate mode)",
"remote_button_alt_quintuple_press": "\"{subtype}\" button quintuple clicked (Alternate mode)",
"device_rotated": "Device rotated \"{subtype}\"",
"device_shaken": "Device shaken",
"device_slid": "Device slid \"{subtype}\"",
"device_tilted": "Device tilted",
"device_knocked": "Device knocked \"{subtype}\"",
"device_dropped": "Device dropped",
"device_flipped": "Device flipped \"{subtype}\""
},
"trigger_subtype": {
"turn_on": "Turn on",
"turn_off": "Turn off",
"dim_up": "Dim up",
"dim_down": "Dim down",
"left": "Left",
"right": "Right",
"open": "Open",
"close": "Close",
"both_buttons": "Both buttons",
"button_1": "First button",
"button_2": "Second button",
"button_3": "Third button",
"button_4": "Fourth button",
"button_5": "Fifth button",
"button_6": "Sixth button",
"face_any": "With any/specified face(s) activated",
"face_1": "with face 1 activated",
"face_2": "with face 2 activated",
"face_3": "with face 3 activated",
"face_4": "with face 4 activated",
"face_5": "with face 5 activated",
"face_6": "with face 6 activated"
}
}
}