|
1 | 1 | Changes: |
2 | 2 |
|
| 3 | +- v1.8 - BREAKING CHANGES! - I modified the options to be consistent with my other control rows and changed the default button order. I also added the option to reverse the button order. |
| 4 | + |
3 | 5 | - v1.6 - added the ability to customize the text for the buttons. defaults to "OFF, LOW, MED, HIGH" |
4 | 6 |
|
5 | 7 | This is an element to add a fan control row to Home Assistant for 3-speed fans. |
@@ -33,7 +35,7 @@ Then to use this in a card place the following in your entity card: |
33 | 35 | | customIsOnLowColor | String | No | '#43A047' | Sets the color of the 'Low' button if fan is on low | |
34 | 36 | | customIsOnMedColor | String | No | '#43A047' | Sets the color of the 'Med' button if fan is on Medium | |
35 | 37 | | customIsOnHiColor | String | No | '#43A047' | Sets the color of the 'High' button if fan is on high | |
36 | | -| customIsOffSpdColor | String | No | '#759aaa' | Sets the color of the buttons if that selection is off | |
| 38 | +| buttonInactiveColor | String | No | '#759aaa' | Sets the color of the buttons if that selection is off | |
37 | 39 | | customOffText | String | No | 'OFF' | Sets the text of the "off" button | |
38 | 40 | | customLowText | String | No | 'LOW' | Sets the text of the "low" speed button | |
39 | 41 | | customMedText | String | No | 'MED' | Sets the text of the "medium" speed button | |
@@ -66,12 +68,13 @@ The optional "sendStateWithSpeed" config entry is only needed to be set to true |
66 | 68 | - entity: fan.sunroom_fan |
67 | 69 | type: custom:fan-control-entity-row |
68 | 70 | name: Sunroom Fan Custom Custom |
| 71 | + reverseButtons: true |
69 | 72 | customTheme: true |
70 | | - customIsOnLowColor: 'rgb(255, 0, 0)' |
71 | | - customIsOnMedColor: '#888888' |
72 | | - customIsOnHiColor: '#222222' |
73 | | - customIsOffSpdColor: '#aaaaaa' |
74 | | - customIsOffColor: 'purple' |
| 73 | + isOnLowColor: 'rgb(255, 0, 0)' |
| 74 | + isOnMedColor: '#888888' |
| 75 | + isOnHiColor: '#222222' |
| 76 | + buttonInactiveColor: '#aaaaaa' |
| 77 | + isOffColor: 'purple' |
75 | 78 | ## USE THIS CONFIG FOR USE WITH THE ESPHOME FIRMWARE (ALONG WITHE THE THEME SETTING ABOVE IF DESIRED) |
76 | 79 | - entity: fan.master_bedroom_fan |
77 | 80 | type: custom:fan-control-entity-row |
|
0 commit comments