Sure.
The effects are just buttons which send MQTT messages.
- type: grid
square: false
cards:
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"steady","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Steady
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"snow","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Snow
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"rainbow","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Rainbow
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"Snake","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Snake
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"twinkle","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Twinkle
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"firework","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Firework
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"waves","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Waves
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"updown","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Updown
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"vintage","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Vintage
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"fading","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Fading
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"collide","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Collide
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"strobe","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Strobe
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"sparkles","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Sparkles
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"carnaval","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Carnaval
- type: button
tap_action:
action: call-service
service: mqtt.publish
service_data:
topic: zigbee2mqtt/christmas_lights_1/set
payload: >-
{"effect":{"effect":"glow","speed":100,"colors":[{"r":164,"g":168,"b":50},{"r":168,"g":50,"b":153},{"r":102,"g":50,"b":168},{"r":50,"g":155,"b":168},{"r":50,"g":168,"b":72},{"r":168,"g":88,"b":50}]}}
name: Glow
Adjust speed / color to your liking.