here is the node-red json
[
{
"id": "setLED1OrangeSlowBlink",
"type": "api-call-service",
"z": "fa5b416332897c14",
"name": "Set LED1 Orange Slow Blink",
"server": "502cd78a.4adc88",
"version": 7,
"debugenabled": true,
"action": "number.set_value",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"number.2_1_dimmer_led1_strip_effect_color",
"number.2_1_dimmer_led1_strip_effect_color_2"
],
"labelId": [],
"data": "{\"value\":8}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": false,
"domain": "number",
"service": "set_value",
"x": 580,
"y": 440,
"wires": [
[
"setLED1Effect"
]
]
},
{
"id": "setLED1Effect",
"type": "api-call-service",
"z": "fa5b416332897c14",
"name": "Set LED1 Effect Slow Blink",
"server": "502cd78a.4adc88",
"version": 7,
"debugenabled": true,
"action": "select.select_option",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"select.2_1_dimmer_led1_strip_effect_effect",
"select.2_1_dimmer_led1_strip_effect_effect_2"
],
"labelId": [],
"data": "{\"option\":\"Slow blink\"}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": false,
"domain": "select",
"service": "select_option",
"x": 660,
"y": 520,
"wires": [
[]
]
},
{
"id": "781c5f9726039c06",
"type": "trigger-state",
"z": "fa5b416332897c14",
"name": "SunRise_SunSet_Automation ON",
"server": "502cd78a.4adc88",
"version": 5,
"inputs": 0,
"outputs": 2,
"exposeAsEntityConfig": "",
"entities": {
"entity": [
"input_boolean.sunrise_sunset_automation"
],
"substring": [],
"regex": []
},
"debugEnabled": false,
"constraints": [
{
"targetType": "entity_id",
"targetValue": "input_boolean.sunrise_sunset_automation",
"propertyType": "current_state",
"propertyValue": "new_state.state",
"comparatorType": "is",
"comparatorValueDatatype": "str",
"comparatorValue": "on"
}
],
"customOutputs": [],
"outputInitially": false,
"stateType": "str",
"enableInput": false,
"x": 170,
"y": 380,
"wires": [
[
"5ac29e3afd17a2c1"
],
[]
]
},
{
"id": "5ac29e3afd17a2c1",
"type": "api-call-service",
"z": "fa5b416332897c14",
"name": "Set LED Duration Value",
"server": "502cd78a.4adc88",
"version": 7,
"debugenabled": true,
"action": "number.set_value",
"floorId": [],
"areaId": [],
"deviceId": [],
"entityId": [
"number.2_1_dimmer_led1_strip_effect_duration",
"number.2_1_dimmer_led1_strip_effect_duration_2"
],
"labelId": [],
"data": "{\"value\":255}",
"dataType": "jsonata",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"blockInputOverrides": false,
"domain": "number",
"service": "set_value",
"x": 490,
"y": 380,
"wires": [
[
"setLED1OrangeSlowBlink"
]
]
},
{
"id": "502cd78a.4adc88",
"type": "server",
"name": "Home Assistant1",
"version": 5,
"addon": true,
"rejectUnauthorizedCerts": true,
"ha_boolean": "y|yes|true|on|home|open",
"connectionDelay": true,
"cacheJson": true,
"heartbeat": true,
"heartbeatInterval": "30",
"areaSelector": "friendlyName",
"deviceSelector": "friendlyName",
"entitySelector": "friendlyName",
"statusSeparator": "at: ",
"statusYear": "hidden",
"statusMonth": "short",
"statusDay": "numeric",
"statusHourCycle": "h12",
"statusTimeFormat": "h:m:s.ms",
"enableGlobalContextStore": true
}
]
and chapgpt json to homeassistant yaml
entity id is light.2_1_dimmer_2
action:
# Set the LED duration value to maximum (255)
- service: number.set_value
target:
entity_id:
- number.2_1_dimmer_led1_strip_effect_duration
- number.2_1_dimmer_led1_strip_effect_duration_2
data:
value: 255
# Set the LED1 strip effect color to orange (value 8)
- service: number.set_value
target:
entity_id:
- number.2_1_dimmer_led1_strip_effect_color
- number.2_1_dimmer_led1_strip_effect_color_2
data:
value: 8
# Set the LED1 strip effect to "Slow blink"
- service: select.select_option
target:
entity_id:
- select.2_1_dimmer_led1_strip_effect_effect
- select.2_1_dimmer_led1_strip_effect_effect_2
data:
option: "Slow blink"
mode: single