Files
HomeAssistant-Light-Buttons/example-configuration.yaml

21 lines
582 B
YAML

# Example Lovelace configuration for Light Button Card
# Add this to your Lovelace dashboard
type: custom:light-button-card
button_entity: button.plc_light_1
binary_sensor_entity: binary_sensor.plc_light_1_status
name: Living Room Light
icon_on: mdi:lightbulb
icon_off: mdi:lightbulb-outline
show_name: true
# Another example with different icon
# type: custom:light-button-card
# button_entity: button.plc_light_2
# binary_sensor_entity: binary_sensor.plc_light_2_status
# name: Kitchen Light
# icon_on: mdi:ceiling-light
# icon_off: mdi:ceiling-light-outline
# show_name: true