- Removed TypeScript source and build configuration files - Updated README with all current features (icon picker, icon size, show/hide options) - Updated example configuration - Card is now standalone JavaScript file ready to use
22 lines
578 B
YAML
22 lines
578 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: mdi:lightbulb
|
|
icon_size: 64
|
|
show_name: true
|
|
show_status: true
|
|
|
|
# Another example with different settings
|
|
# type: custom:light-button-card
|
|
# button_entity: button.plc_light_2
|
|
# binary_sensor_entity: binary_sensor.plc_light_2_status
|
|
# name: Kitchen Light
|
|
# icon: mdi:ceiling-light
|
|
# icon_size: 90
|
|
# show_name: true
|
|
# show_status: false
|