DBuit / light-popup-card

Lovelace card to use as custom pop-up for light in homekit style
168 stars 38 forks source link

Future: Add transition time #74

Closed CookieThemes closed 2 years ago

CookieThemes commented 3 years ago

Hi,

I would like to suggest to add transition to _setBrightness function. It works well and it's a lot of smoother for eyes.

_setBrightness(state, value) { this.hass.callService("homeassistant", "turn_on", { entity_id: state.entity_id, brightness: value * 2.55, transition: 0.5 }); }

DBuit commented 2 years ago

@CookieThemes nice addition, it is added as an option in v0.5.1