144 lines
4.0 KiB
JSON
144 lines
4.0 KiB
JSON
{
|
|
"config": {
|
|
"flow_title": "{name} {model} ({host})",
|
|
"step": {
|
|
"user": {
|
|
"description": "If you leave the host empty, discovery will be used to find devices.",
|
|
"data": {
|
|
"host": "[%key:common::config_flow::data::host%]"
|
|
},
|
|
"data_description": {
|
|
"host": "Hostname or IP address of your TP-Link device."
|
|
}
|
|
},
|
|
"pick_device": {
|
|
"data": {
|
|
"device": "[%key:common::config_flow::data::device%]"
|
|
}
|
|
},
|
|
"discovery_confirm": {
|
|
"description": "Do you want to set up {name} {model} ({host})?"
|
|
}
|
|
},
|
|
"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%]"
|
|
}
|
|
},
|
|
"entity": {
|
|
"sensor": {
|
|
"current_consumption": {
|
|
"name": "Current consumption"
|
|
},
|
|
"total_consumption": {
|
|
"name": "Total consumption"
|
|
},
|
|
"today_consumption": {
|
|
"name": "Today's consumption"
|
|
}
|
|
},
|
|
"switch": {
|
|
"led": {
|
|
"name": "LED"
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"sequence_effect": {
|
|
"name": "Sequence effect",
|
|
"description": "Sets a sequence effect.",
|
|
"fields": {
|
|
"sequence": {
|
|
"name": "Sequence",
|
|
"description": "List of HSV sequences (Max 16)."
|
|
},
|
|
"segments": {
|
|
"name": "Segments",
|
|
"description": "List of Segments (0 for all)."
|
|
},
|
|
"brightness": {
|
|
"name": "Brightness",
|
|
"description": "Initial brightness."
|
|
},
|
|
"duration": {
|
|
"name": "Duration",
|
|
"description": "Duration."
|
|
},
|
|
"repeat_times": {
|
|
"name": "Repetitions",
|
|
"description": "Repetitions (0 for continuous)."
|
|
},
|
|
"transition": {
|
|
"name": "Transition",
|
|
"description": "Transition."
|
|
},
|
|
"spread": {
|
|
"name": "Spread",
|
|
"description": "Speed of spread."
|
|
},
|
|
"direction": {
|
|
"name": "Direction",
|
|
"description": "Direction."
|
|
}
|
|
}
|
|
},
|
|
"random_effect": {
|
|
"name": "Random effect",
|
|
"description": "Sets a random effect.",
|
|
"fields": {
|
|
"init_states": {
|
|
"name": "Initial states",
|
|
"description": "Initial HSV sequence."
|
|
},
|
|
"backgrounds": {
|
|
"name": "Backgrounds",
|
|
"description": "[%key:component::tplink::services::sequence_effect::fields::sequence::description%]"
|
|
},
|
|
"segments": {
|
|
"name": "Segments",
|
|
"description": "List of segments (0 for all)."
|
|
},
|
|
"brightness": {
|
|
"name": "Brightness",
|
|
"description": "[%key:component::tplink::services::sequence_effect::fields::brightness::description%]"
|
|
},
|
|
"duration": {
|
|
"name": "Duration",
|
|
"description": "[%key:component::tplink::services::sequence_effect::fields::duration::description%]"
|
|
},
|
|
"transition": {
|
|
"name": "Transition",
|
|
"description": "[%key:component::tplink::services::sequence_effect::fields::transition::description%]"
|
|
},
|
|
"fadeoff": {
|
|
"name": "Fade off",
|
|
"description": "Fade off."
|
|
},
|
|
"hue_range": {
|
|
"name": "Hue range",
|
|
"description": "Range of hue."
|
|
},
|
|
"saturation_range": {
|
|
"name": "Saturation range",
|
|
"description": "Range of saturation."
|
|
},
|
|
"brightness_range": {
|
|
"name": "Brightness range",
|
|
"description": "Range of brightness."
|
|
},
|
|
"transition_range": {
|
|
"name": "Transition range",
|
|
"description": "Range of transition."
|
|
},
|
|
"random_seed": {
|
|
"name": "Random seed",
|
|
"description": "Random seed."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|