If I’m understanding things correctly, this is the entity ID:
entity_id: input_select.holiday_led_effect
Options are:
Christmas,Candy Cane,Holly Jolly,Valentine,Lovey Day,St Patty,Easter,USA,Independence,Go Blue,Go Eagles,Hail,Touchdown,Halloween,Punkin,Thanksgiving,Turkey Day,BPM,Confetti,Cyclon Rainbow,Dots,Fire,Glitter,Juggle,Lightning,Police All,Police One,Rainbow,Rainbow with Glitter,Ripple,Sinelon,Solid,Snow Sparkle,Test,Twinkle,Warm Glow
friendly_name: Holiday LED Effect
In one of the other automations I created (via GUI), I used this command to send an option change:
{
“entity_id”: “input_select.holiday_led_effect”,
“option”: “Halloween”
}
Here are the entire contents of my config file and yes, that line does appear to exist:
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 35.3832
longitude: -119.2272
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: imperial
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: America/Los_Angeles
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend
#introduction:
# Enables the frontend
frontend:
### THIS IS ONLY A PARTIAL CONFIGURATION FILE.
### JUST ADD THESE PARTS TO YOUR configuration.yaml
mqtt:
broker: core-mosquitto
username: drivium
password: goonies
#######################################
############## Holiday Outside Lights ######
#######################################
light:
- platform: mqtt
name: "Holiday Lights"
command_topic: "bruh/mqttstrip/setpower"
state_topic: "bruh/mqttstrip/setpowerpub"
rgb_state_topic: "bruh/mqttstrip/setcolorpub"
rgb_command_topic: "bruh/mqttstrip/setcolor"
brightness_state_topic: "bruh/mqttstrip/setbrightnesspub"
brightness_command_topic: "bruh/mqttstrip/setbrightness"
optimistic: false
input_select:
holiday_led_effect:
name: Holiday LED Effect
options:
- "Christmas"
- "Candy Cane"
- "Holly Jolly"
- "Valentine"
- "Lovey Day"
- "St Patty"
- "Easter"
- "USA"
- "Independence"
- "Go Blue"
- "Go Eagles"
- "Hail"
- "Touchdown"
- "Halloween"
- "Punkin"
- "Thanksgiving"
- "Turkey Day"
- "BPM"
- "Confetti"
- "Cyclon Rainbow"
- "Dots"
- "Fire"
- "Glitter"
- "Juggle"
- "Lightning"
- "Police All"
- "Police One"
- "Rainbow"
- "Rainbow with Glitter"
- "Ripple"
- "Sinelon"
- "Solid"
- "Snow Sparkle"
- "Test"
- "Twinkle"
- "Warm Glow"
initial: "Warm Glow"
input_number:
animation_speed:
name: Animation Speed
initial: 150
min: 1
max: 150
step: 10
automation old:
- alias: "Holiday Input Effect"
initial_state: True
hide_entity: False
trigger:
- platform: state
entity_id: input_select.holiday_led_effect
action:
- service: mqtt.publish
data_template:
topic: "bruh/mqttstrip/seteffect"
payload: '{{ trigger.to_state.state | string }}'
- alias: "Animation Speed"
initial_state: True
hide_entity: False
trigger:
- platform: state
entity_id: input_number.animation_speed
action:
- service: mqtt.publish
data_template:
topic: "bruh/mqttstrip/setanimationspeed"
payload: '{{ trigger.to_state.state | int }}'
# Enables configuration UI
config:
http:
# Secrets are defined in the file secrets.yaml
# api_password: !secret http_password
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# base_url: example.duckdns.org:8123
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Track the sun
sun:
# Weather prediction
sensor:
- platform: time_date
display_options:
- 'time'
- 'date'
- 'beat'
# Text to speech
tts:
- platform: google
automation: !include automations.yaml
script: !include scripts.yaml
group: !include groups.yaml