McLighting/clients/HomeAssistant/light.yaml

92 lines
1.9 KiB
YAML
Raw Normal View History

light:
- platform: mqtt_json
name: "NeoPixel LEDs"
state_topic: "home/McLighting01_ha/state/out"
command_topic: "home/McLighting01_ha/state/in"
effect: true
effect_list:
######
- Blink
- Breath
- ColorWipe
- ColorWipeInverse
- ColorWipeReverse
- ColorWipeReverseInverse
- ColorWipeRandom
- RandomColor
- SingleDynamic
- MultiDynamic
- Rainbow
- RainbowCycle
- Scan
- DualScan
- Fade
- TheaterChase
- TheaterChaseRainbow
- RunningLights
- Twinkle
- TwinkleRandom
- TwinkleFade
- TwinkleFadeRandom
- Sparkle
- FlashSparkle
- HyperSparkle
- Strobe
- StrobeRainbow
- MultiStrobe
- BlinkRainbow
- ChaseWhite
- ChaseColor
- ChaseRandom
- ChaseRainbow
- ChaseFlash
- ChaseFlashRandom
- ChaseRainbowWhite
- ChaseBlackout
- ChaseBlackoutRainbow
- ColorSweepRandom
- RunningColor
- RunningRedBlue
- RunningRandom
- LarsonScanner
- Comet
- Fireworks
- FireworksRandom
- MerryChristmas
- FireFlicker
- FireFlickerSoft
- FireFlickerIntense
- CircusCombustus
- Halloween
- BicolorChase
- TricolorChase
- ICU
brightness: true
rgb: true
optimistic: false
qos: 0
retain: true
input_number:
neopixel_animation_speed:
name: NeoPixel Animation Speed
initial: 200
min: 0
max: 255
step: 5
automation:
- id: 71938579813759813757
alias: NeoPixel Animation Speed
initial_state: true
hide_entity: false
trigger:
- entity_id: input_number.neopixel_animation_speed
platform: state
action:
2018-02-13 00:58:10 +01:00
- data_template:
payload_template: '{{ trigger.to_state.state | int }}'
retain: true
topic: home/McLighting01_ha/speed
service: mqtt.publish