2022-03-10 11:23:01 +00:00
|
|
|
{
|
2022-04-04 15:53:16 +00:00
|
|
|
"title": "Change device type of a switch",
|
2022-03-10 11:23:01 +00:00
|
|
|
"config": {
|
|
|
|
"step": {
|
2022-03-28 17:32:15 +00:00
|
|
|
"user": {
|
|
|
|
"description": "Pick a switch that you want to show up in Home Assistant as a light, cover or anything else. The original switch will be hidden.",
|
2022-03-10 11:23:01 +00:00
|
|
|
"data": {
|
2022-03-28 17:32:15 +00:00
|
|
|
"entity_id": "Switch",
|
2024-01-24 15:35:08 +00:00
|
|
|
"invert": "Invert state",
|
2022-03-28 17:32:15 +00:00
|
|
|
"target_domain": "New Type"
|
2024-01-24 15:35:08 +00:00
|
|
|
},
|
|
|
|
"data_description": {
|
|
|
|
"invert": "Invert state, only supported for cover, lock and valve."
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"step": {
|
|
|
|
"init": {
|
|
|
|
"data": {
|
|
|
|
"invert": "[%key:component::switch_as_x::config::step::user::data::invert%]"
|
|
|
|
},
|
|
|
|
"data_description": {
|
|
|
|
"invert": "[%key:component::switch_as_x::config::step::user::data_description::invert%]"
|
2022-03-10 11:23:01 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|