* Initial plan * Create all plugin files and verify build Co-authored-by: felixfoertsch <6586185+felixfoertsch@users.noreply.github.com> * Fix HSV to RGB conversion to use actual brightness and extract magic number Co-authored-by: felixfoertsch <6586185+felixfoertsch@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: felixfoertsch <6586185+felixfoertsch@users.noreply.github.com>
66 lines
1.8 KiB
JSON
66 lines
1.8 KiB
JSON
{
|
|
"pluginAlias": "ESPHomeRGBWW",
|
|
"pluginType": "platform",
|
|
"singular": false,
|
|
"schema": {
|
|
"type": "object",
|
|
"properties": {
|
|
"name": {
|
|
"title": "Name",
|
|
"type": "string",
|
|
"required": true,
|
|
"default": "ESPHome RGBWW"
|
|
},
|
|
"lights": {
|
|
"title": "Lights",
|
|
"type": "array",
|
|
"items": {
|
|
"type": "object",
|
|
"properties": {
|
|
"id": {
|
|
"title": "Unique ID",
|
|
"type": "string",
|
|
"required": true,
|
|
"placeholder": "bedside-lamp-4387-1962"
|
|
},
|
|
"name": {
|
|
"title": "Display Name",
|
|
"type": "string",
|
|
"required": true,
|
|
"placeholder": "Bedside Lamp Rechts"
|
|
},
|
|
"manufacturer": {
|
|
"title": "Manufacturer",
|
|
"type": "string",
|
|
"placeholder": "Yeelight"
|
|
},
|
|
"model": {
|
|
"title": "Model",
|
|
"type": "string",
|
|
"placeholder": "MJCTD02YL"
|
|
},
|
|
"mqtt_broker": {
|
|
"title": "MQTT Broker URL",
|
|
"type": "string",
|
|
"required": true,
|
|
"placeholder": "mqtt://192.168.23.20:1883"
|
|
},
|
|
"state_topic": {
|
|
"title": "State Topic",
|
|
"type": "string",
|
|
"required": true,
|
|
"placeholder": "bedside-lamp-4387-1962/light/bedside_lamp_rechts/state"
|
|
},
|
|
"command_topic": {
|
|
"title": "Command Topic",
|
|
"type": "string",
|
|
"required": true,
|
|
"placeholder": "bedside-lamp-4387-1962/light/bedside_lamp_rechts/command"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|