You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I really like this card, very slick!
However im having problems using it.
It loads, and i have it assigned a decora wifi light. I can control the light but i want to turn off unsupported features for this light, namely the color temperature buttons and the color temperature slider.
Here's my lovelace config for this section:
- type: 'custom:light-entity-row'
entity: light.mias
icon: mdi:lamp
name: Lamp
showTempButtons: false
showBrightness: true
showColorTemp: false
showColorPicker: false
showColorSliders: false
In this config, temp buttons are still being shown as well as the colorTemp slider. However the other options seem to work for turning them off and on (showColorPicker, showColorSliders).
I see in the code it says:
if (!this._config.hideTempButtons && this.isSupported(SUPPORT_COLOR_TEMP)) {
this.showTempButtons = true
}
So its almost like somehow if the code detects the element supports color temp then show it anyway? Am i reading that right? But when i look at the element output i do not see any support for color temp, only brightness.
The decora wifi light element shows supported_features of 33
Thank you kindly for your efforts.
The text was updated successfully, but these errors were encountered:
I think i figured it out.. from what i can tell by the code there are 5 options for show/hide
Where i was getting thrown off is that some of them start with 'hide' and some start with 'show'.. I was assuming based on the examples that all of them start with 'show'.
Now that i specify them like below, they seem to work:
Hello,
I really like this card, very slick!
However im having problems using it.
It loads, and i have it assigned a decora wifi light. I can control the light but i want to turn off unsupported features for this light, namely the color temperature buttons and the color temperature slider.
Here's my lovelace config for this section:
- type: 'custom:light-entity-row'
entity: light.mias
icon: mdi:lamp
name: Lamp
showTempButtons: false
showBrightness: true
showColorTemp: false
showColorPicker: false
showColorSliders: false
In this config, temp buttons are still being shown as well as the colorTemp slider. However the other options seem to work for turning them off and on (showColorPicker, showColorSliders).
I see in the code it says:
So its almost like somehow if the code detects the element supports color temp then show it anyway? Am i reading that right? But when i look at the element output i do not see any support for color temp, only brightness.
The decora wifi light element shows supported_features of 33
Thank you kindly for your efforts.
The text was updated successfully, but these errors were encountered: