Skip to content

Commit

Permalink
add instructions for custom button text
Browse files Browse the repository at this point in the history
  • Loading branch information
finity69x2 authored Jun 7, 2020
1 parent cd3c59b commit e8d51c3
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Then to use this in a card place the following in your entity card:
| IsOffColor | String | No | '#f44c09' | Sets the color of the 'Off' button if entity is off |
| IsOnColor | String | No | '#43A047' | Sets the color of the 'Low' button if entity is on low |
| ButtonInactiveColor | String | No | '#759aaa' | Sets the color of the the buttons if that selection is not "active" |
| customOffText | String | No | 'OFF' | Sets the text of the "off" button |
| customLowText | String | No | 'ON' | Sets the text of the "on" button |

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

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

Expand Down

0 comments on commit e8d51c3

Please sign in to comment.