2020-08-31 14:40:56 +00:00
{
"config" : {
2021-08-20 21:32:48 +00:00
"flow_title" : "{model} {id} ({host})" ,
2020-08-31 14:40:56 +00:00
"step" : {
"user" : {
2020-09-02 16:42:12 +00:00
"description" : "If you leave the host empty, discovery will be used to find devices." ,
2020-08-31 14:40:56 +00:00
"data" : {
2020-09-02 16:42:12 +00:00
"host" : "[%key:common::config_flow::data::host%]"
2020-08-31 14:40:56 +00:00
}
} ,
"pick_device" : {
"data" : {
2023-07-13 15:52:50 +00:00
"device" : "[%key:common::config_flow::data::device%]"
2020-08-31 14:40:56 +00:00
}
2021-05-12 00:55:50 +00:00
} ,
"discovery_confirm" : {
2022-12-12 10:40:00 +00:00
"description" : "Do you want to set up {model} ({host})?"
2020-08-31 14:40:56 +00:00
}
} ,
"error" : {
"cannot_connect" : "[%key:common::config_flow::error::cannot_connect%]"
} ,
"abort" : {
"already_configured" : "[%key:common::config_flow::abort::already_configured_device%]" ,
"no_devices_found" : "[%key:common::config_flow::abort::no_devices_found%]"
}
} ,
"options" : {
"step" : {
"init" : {
"data" : {
2023-07-13 15:52:50 +00:00
"model" : "[%key:common::generic::model%]" ,
2020-08-31 14:40:56 +00:00
"transition" : "Transition Time (ms)" ,
"use_music_mode" : "Enable Music Mode" ,
"save_on_change" : "Save Status On Change" ,
"nightlight_switch" : "Use Nightlight Switch"
}
}
}
2023-07-12 05:36:51 +00:00
} ,
2023-07-24 07:39:48 +00:00
"entity" : {
"binary_sensor" : {
"nightlight" : {
"name" : "[%key:component::yeelight::entity::light::nightlight::name%]"
}
} ,
"light" : {
"nightlight" : {
"name" : "Nightlight"
} ,
"ambilight" : {
"name" : "Ambilight"
}
}
} ,
2023-07-12 05:36:51 +00:00
"services" : {
"set_mode" : {
"name" : "Set mode" ,
"description" : "Sets a operation mode." ,
"fields" : {
"mode" : {
2023-07-13 15:52:50 +00:00
"name" : "[%key:common::config_flow::data::mode%]" ,
2023-07-12 05:36:51 +00:00
"description" : "Operation mode."
}
}
} ,
"set_color_scene" : {
"name" : "Set color scene" ,
"description" : "Changes the light to the specified RGB color and brightness. If the light is off, it will be turned on." ,
"fields" : {
"rgb_color" : {
"name" : "RGB color" ,
"description" : "Color for the light in RGB-format."
} ,
"brightness" : {
"name" : "Brightness" ,
"description" : "The brightness value to set."
}
}
} ,
"set_hsv_scene" : {
"name" : "Set HSV scene" ,
"description" : "Changes the light to the specified HSV color and brightness. If the light is off, it will be turned on." ,
"fields" : {
"hs_color" : {
"name" : "Hue/sat color" ,
"description" : "Color for the light in hue/sat format. Hue is 0-359 and Sat is 0-100."
} ,
"brightness" : {
"name" : "Brightness" ,
2023-07-13 15:52:50 +00:00
"description" : "[%key:component::yeelight::services::set_color_scene::fields::brightness::description%]"
2023-07-12 05:36:51 +00:00
}
}
} ,
"set_color_temp_scene" : {
"name" : "Set color temperature scene" ,
"description" : "Changes the light to the specified color temperature. If the light is off, it will be turned on." ,
"fields" : {
"kelvin" : {
"name" : "Kelvin" ,
"description" : "Color temperature for the light in Kelvin."
} ,
"brightness" : {
"name" : "Brightness" ,
2023-07-13 15:52:50 +00:00
"description" : "[%key:component::yeelight::services::set_color_scene::fields::brightness::description%]"
2023-07-12 05:36:51 +00:00
}
}
} ,
"set_color_flow_scene" : {
"name" : "Set color flow scene" ,
"description" : "Starts a color flow. If the light is off, it will be turned on." ,
"fields" : {
"count" : {
"name" : "Count" ,
"description" : "The number of times to run this flow (0 to run forever)."
} ,
"action" : {
"name" : "Action" ,
"description" : "The action to take after the flow stops."
} ,
"transitions" : {
"name" : "Transitions" ,
"description" : "Array of transitions, for desired effect. Examples https://yeelight.readthedocs.io/en/stable/flow.html."
}
}
} ,
"set_auto_delay_off_scene" : {
"name" : "Set auto delay off scene" ,
"description" : "Turns the light on to the specified brightness and sets a timer to turn it back off after the given number of minutes. If the light is off, Set a color scene, if light is off, it will be turned on." ,
"fields" : {
"minutes" : {
"name" : "Minutes" ,
"description" : "The time to wait before automatically turning the light off."
} ,
"brightness" : {
"name" : "Brightness" ,
2023-07-13 15:52:50 +00:00
"description" : "[%key:component::yeelight::services::set_color_scene::fields::brightness::description%]"
2023-07-12 05:36:51 +00:00
}
}
} ,
"start_flow" : {
"name" : "Start flow" ,
"description" : "Start a custom flow, using transitions from https://yeelight.readthedocs.io/en/stable/yeelight.html#flow-objects." ,
"fields" : {
"count" : {
"name" : "Count" ,
2023-07-13 15:52:50 +00:00
"description" : "[%key:component::yeelight::services::set_color_flow_scene::fields::count::description%]"
2023-07-12 05:36:51 +00:00
} ,
"action" : {
"name" : "Action" ,
2023-07-13 15:52:50 +00:00
"description" : "[%key:component::yeelight::services::set_color_flow_scene::fields::action::description%]"
2023-07-12 05:36:51 +00:00
} ,
"transitions" : {
2023-07-13 15:52:50 +00:00
"name" : "[%key:component::yeelight::services::set_color_flow_scene::fields::transitions::name%]" ,
"description" : "[%key:component::yeelight::services::set_color_flow_scene::fields::transitions::description%]"
2023-07-12 05:36:51 +00:00
}
}
} ,
"set_music_mode" : {
"name" : "Set music mode" ,
"description" : "Enables or disables music_mode." ,
"fields" : {
"music_mode" : {
"name" : "Music mode" ,
"description" : "Use true or false to enable / disable music_mode."
}
}
}
} ,
"selector" : {
"mode" : {
"options" : {
"color_flow" : "Color Flow" ,
"hsv" : "HSV" ,
"last" : "Last" ,
"moonlight" : "Moonlight" ,
"normal" : "Normal" ,
"rgb" : "RGB"
}
} ,
"action" : {
"options" : {
2023-07-13 15:52:50 +00:00
"off" : "[%key:common::state::off%]" ,
2023-07-12 05:36:51 +00:00
"recover" : "Recover" ,
"stay" : "Stay"
}
}
2020-08-31 14:40:56 +00:00
}
2020-10-27 13:47:11 +00:00
}