From e8d51c39fd6ec5b7a41cf262bd9d36250b3ed5b4 Mon Sep 17 00:00:00 2001 From: finity69x2 <32221243+finity69x2@users.noreply.github.com> Date: Sun, 7 Jun 2020 11:46:27 -0400 Subject: [PATCH] add instructions for custom button text --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index 9a34af5..c9e1528 100644 --- a/README.md +++ b/README.md @@ -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. @@ -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 ```