Skip to content

Commit e8d51c3

Browse files
authored
add instructions for custom button text
1 parent cd3c59b commit e8d51c3

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ Then to use this in a card place the following in your entity card:
3636
| IsOffColor | String | No | '#f44c09' | Sets the color of the 'Off' button if entity is off |
3737
| IsOnColor | String | No | '#43A047' | Sets the color of the 'Low' button if entity is on low |
3838
| ButtonInactiveColor | String | No | '#759aaa' | Sets the color of the the buttons if that selection is not "active" |
39+
| customOffText | String | No | 'OFF' | Sets the text of the "off" button |
40+
| customLowText | String | No | 'ON' | Sets the text of the "on" button |
3941

4042
The values for the colors can be any valid color string in "HEX", "RGB" or by color name.
4143

@@ -65,6 +67,12 @@ The values for the colors can be any valid color string in "HEX", "RGB" or by co
6567
IsOnColor: 'rgb(255, 0, 0)'
6668
IsOffColor: 'purple'
6769
ButtonInactiveColor: '#aaaaaa'
70+
## USE THIS CONFIG TO SET CUSTOM BUTTON TEXT (NOT REQUIRED TO SET "customTheme: true" TO USE THESE )
71+
- type: custom:binary-control-button-row
72+
name: Basement Bath Customized Button Row
73+
entity: light.sengled_e11g13_03070a4c_1
74+
customOnText: yay
75+
customOffText: nay
6876
6977
```
7078

0 commit comments

Comments
 (0)