Resolves #312 Add white value control for light

This commit is contained in:
estevez-dev
2019-02-22 15:15:27 +02:00
parent 0615073ec4
commit 00889b13e0
12 changed files with 60 additions and 24 deletions

View File

@ -33,6 +33,7 @@ class LightEntity extends Entity {
LightEntity.SUPPORT_WHITE_VALUE);
int get brightness => _getIntAttributeValue("brightness");
int get whiteValue => _getIntAttributeValue("white_value");
String get effect => attributes["effect"];
int get colorTemp => _getIntAttributeValue("color_temp");
double get maxMireds => _getDoubleAttributeValue("max_mireds");