int precision is enough for the angle
Co-authored-by: Christian Fetzer <fetzer.ch@gmail.com>
This commit is contained in:
parent
327e06367b
commit
24ecbf4f79
@ -1,13 +1,14 @@
|
|||||||
{
|
{
|
||||||
"description": "Venetian blinds that can be tilted. Venetian blinds must support an angle and specify the minimum and maximum supported angle. For instance, if a venetian blinds supports tilting from horizontal to vertical by 90°, the minValue should be set to 0° and the maxValue to 90°. For venetian blinds that support tilting both direction, that is, a total of 180°, the minValue should be -90° and the maxValue should be 90°. 0° is always the horizontal position.",
|
"description": "Venetian blinds that can be tilted. Venetian blinds must support an angle and specify the minimum and maximum supported angle. For instance, if a venetian blinds supports tilting from horizontal to vertical by 90°, the minValue should be set to 0° and the maxValue to 90°. For venetian blinds that support tilting both direction, that is, a total of 180°, the minValue should be -90° and the maxValue should be 90°. 0° is always the horizontal position. Note that the \"moving\" state should be true when either the percentage or the angle are moving.",
|
||||||
"extends": "extendedblind",
|
"extends": "extendedblind",
|
||||||
"states": [
|
"states": [
|
||||||
{
|
{
|
||||||
"name": "angle",
|
"name": "angle",
|
||||||
"type": "double",
|
"type": "int",
|
||||||
"unit": "UnitDegree",
|
"unit": "Degree",
|
||||||
"minValue": "any",
|
"minValue": "any",
|
||||||
"maxValue": "any"
|
"maxValue": "any",
|
||||||
|
"writable": true
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user