Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
finity69x2 authored Aug 12, 2020
1 parent 1ce87e9 commit ba8a0e3
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,12 @@ Then to use this in a card place the following in your entity card:
| type | String | Yes | none | custom:binary-control-button-row |
| name | String | No | none | A custom name for the entity in the row |
| customTheme | Boolean | No | false | set to true to use a custom theme |
| 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" |
| reverseButtons | Boolean | No | false | set to true to use reverse the order of the buttons from default |
| 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 |
| customOnText | 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 All @@ -63,10 +64,11 @@ The values for the colors can be any valid color string in "HEX", "RGB" or by co
- type: custom:binary-control-button-row
name: Basement Bath Customized Button Row
entity: light.sengled_e11g13_03070a4c_1
reverseButtons: true
customTheme: true
IsOnColor: 'rgb(255, 0, 0)'
IsOffColor: 'purple'
ButtonInactiveColor: '#aaaaaa'
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
Expand Down

0 comments on commit ba8a0e3

Please sign in to comment.