I see you're working on a Home Assistant configuration for controlling the LED on a Rotenso i35X air conditioner. There's a syntax error in your turn_off section - you have the entity_id listed twice on separate lines.
Here's the corrected configuration:
- platform: template
lights:
- name: "Salon Klimatyzacja Rotenso i35X LED"
turn_on:
service: climate.turn_on
data:
entity_id: climate.salon_klimatyzacja_rotenso_i35x
command: "LED_ON"
turn_off:
service: climate.turn_off
data:
entity_id: climate.salon_klimatyzacja_rotenso_i35x
command: "LED_OFF"
However, I should note that the standard climate.turn_on and climate.turn_off services typically don't accept a command parameter. If you're trying to control just the LED display on your air conditioner (not the AC unit itself), you might need to:
- Use a different service specific to your integration (check your Rotenso integration documentation)
- Use
climate.set_hvac_mode with custom parameters if supported
- Create a script or automation that sends the appropriate commands
Could you share more details about which integration you're using for the Rotenso air conditioner? This would help me provide more accurate guidance for controlling the LED.