{ "title": "Change device type of a switch", "config": { "step": { "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.", "data": { "entity_id": "Switch", "invert": "Invert state", "target_domain": "New Type" }, "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%]" } } } } }