Fan controller updates (#155)
* Fan controller updates. This updates the fan controller to be more dynamic on which dp's it uses. Fan speeds can 1,2,3,4 or low,medium,mid,high,auto. Fans with more than 3 speeds is not supported by Home Assistant. Variable speed fans are not supported at this time. * rename set_dps -> set_dp * change to use self._dp_id instead of a fixed dp Co-authored-by: Thomas Davis <tdavis@nersc.gov> Co-authored-by: Pierre Ståhl <pierre.staahl@gmail.com>
This commit is contained in:
@@ -63,7 +63,12 @@
|
||||
"color": "Color",
|
||||
"color_mode": "Color Mode",
|
||||
"color_temp_min_kelvin": "Minimum Color Temperature in K",
|
||||
"color_temp_max_kelvin": "Maximum Color Temperature in K"
|
||||
"color_temp_max_kelvin": "Maximum Color Temperature in K",
|
||||
"fan_speed_control": "Fan Speed Control",
|
||||
"fan_oscillating_control": "Fan Oscillating Control",
|
||||
"fan_speed_low": "Fan Low Speed Setting",
|
||||
"fan_speed_medium": "Fan Medium Speed Setting",
|
||||
"fan_speed_high": "Fan High Speed Setting"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -107,7 +112,12 @@
|
||||
"color": "Color",
|
||||
"color_mode": "Color Mode",
|
||||
"color_temp_min_kelvin": "Minimum Color Temperature in K",
|
||||
"color_temp_max_kelvin": "Maximum Color Temperature in K"
|
||||
"color_temp_max_kelvin": "Maximum Color Temperature in K",
|
||||
"fan_speed_control": "Fan Speed Control",
|
||||
"fan_oscillating_control": "Fan Oscillating Control",
|
||||
"fan_speed_low": "Fan Low Speed Setting",
|
||||
"fan_speed_medium": "Fan Medium Speed Setting",
|
||||
"fan_speed_high": "Fan High Speed Setting"
|
||||
}
|
||||
},
|
||||
"yaml_import": {
|
||||
@@ -117,4 +127,4 @@
|
||||
}
|
||||
},
|
||||
"title": "LocalTuya"
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user