0a16dc9058
- coordinator.update_source now auto-injects source_type from cached data so the server's discriminated-union body validates (was rejecting fallback_color updates with 422). - Add Fallback Timeout (number) and Interpolation (select) entities per api_input CSS source. - Light no longer zeros fallback_color on turn_off; state restored across HA restarts via RestoreEntity so the chosen default color persists. - Bump manifest to 0.2.2 and update en/ru translations.
115 lines
2.7 KiB
JSON
115 lines
2.7 KiB
JSON
{
|
|
"config": {
|
|
"step": {
|
|
"user": {
|
|
"title": "Set up LED Screen Controller",
|
|
"description": "Enter the URL and API key for your LED Screen Controller server.",
|
|
"data": {
|
|
"server_name": "Server Name",
|
|
"server_url": "Server URL",
|
|
"api_key": "API Key"
|
|
},
|
|
"data_description": {
|
|
"server_name": "Display name for this server in Home Assistant",
|
|
"server_url": "URL of your LED Screen Controller server (e.g., http://192.168.1.100:8080)",
|
|
"api_key": "API key from your server's configuration file"
|
|
}
|
|
}
|
|
},
|
|
"error": {
|
|
"cannot_connect": "Failed to connect to server.",
|
|
"invalid_api_key": "Invalid API key.",
|
|
"unknown": "Unexpected error occurred."
|
|
},
|
|
"abort": {
|
|
"already_configured": "This server is already configured."
|
|
}
|
|
},
|
|
"entity": {
|
|
"button": {
|
|
"activate_scene": {
|
|
"name": "{scene_name}"
|
|
}
|
|
},
|
|
"light": {
|
|
"api_input_light": {
|
|
"name": "Light"
|
|
}
|
|
},
|
|
"switch": {
|
|
"processing": {
|
|
"name": "Processing"
|
|
}
|
|
},
|
|
"sensor": {
|
|
"fps": {
|
|
"name": "FPS"
|
|
},
|
|
"status": {
|
|
"name": "Status",
|
|
"state": {
|
|
"processing": "Processing",
|
|
"idle": "Idle",
|
|
"error": "Error",
|
|
"unavailable": "Unavailable"
|
|
}
|
|
},
|
|
"mapped_lights": {
|
|
"name": "Mapped Lights"
|
|
}
|
|
},
|
|
"number": {
|
|
"brightness": {
|
|
"name": "Brightness"
|
|
},
|
|
"ha_light_update_rate": {
|
|
"name": "Update Rate"
|
|
},
|
|
"ha_light_transition": {
|
|
"name": "Transition"
|
|
},
|
|
"ha_light_min_brightness": {
|
|
"name": "Min Brightness"
|
|
},
|
|
"ha_light_color_tolerance": {
|
|
"name": "Color Tolerance"
|
|
},
|
|
"api_input_timeout": {
|
|
"name": "Fallback Timeout"
|
|
}
|
|
},
|
|
"select": {
|
|
"color_strip_source": {
|
|
"name": "Color Strip Source"
|
|
},
|
|
"brightness_source": {
|
|
"name": "Brightness Source"
|
|
},
|
|
"api_input_interpolation": {
|
|
"name": "Interpolation",
|
|
"state": {
|
|
"none": "None",
|
|
"linear": "Linear",
|
|
"nearest": "Nearest"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"services": {
|
|
"set_leds": {
|
|
"name": "Set LEDs",
|
|
"description": "Push segment data to an api_input color strip source.",
|
|
"fields": {
|
|
"source_id": {
|
|
"name": "Source ID",
|
|
"description": "The api_input CSS source ID (e.g., css_abc12345)."
|
|
},
|
|
"segments": {
|
|
"name": "Segments",
|
|
"description": "List of segment objects with start, length, mode, and color/colors fields."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|