Initial commit: Light Button Card for Home Assistant
This commit is contained in:
20
example-configuration.yaml
Normal file
20
example-configuration.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user