381ee75371
Lint & Test / test (push) Successful in 1m13s
- Add brightness_value_source_id to HALightOutputTarget model, to_dict,
from_dict, update_fields, register_with_manager, API response
- Wire value stream in HALightTargetProcessor: acquire/release on
start/stop, multiply brightness in _update_lights loop
- Fix transition=0 not saving (parseFloat("0") || 0.5 was falsy)
- Fix dashboard showing "Key Colors" for HA targets — now "Home Assistant"
- Fix dashboard FPS showing 0/2 — HA targets show target/target
- Add CSS source subtitle to HA target dashboard cards
104 lines
2.5 KiB
JSON
104 lines
2.5 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"
|
|
}
|
|
},
|
|
"select": {
|
|
"color_strip_source": {
|
|
"name": "Color Strip Source"
|
|
},
|
|
"brightness_source": {
|
|
"name": "Brightness Source"
|
|
}
|
|
}
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|