fan options ignored (speedTeps, hideSwingMode, hideRotationDirection)
Opened this issue · 4 comments
Describe the bug
fanSteps is ignored, same for hideSwingMode
and hideRotationDirection
.
To Reproduce
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideWelcomeMessage": true,
"accessories": [
{
"name": "Livingroom Ceiling Fan",
"type": "fan",
"data": {
"off": "2600e8002[...]e000d05",
"hideRotationDirection": true,
"hideSwingMode": true,
"speedSteps": 3,
"stepSize": 34,
"fanSpeed0": "2600e80[...]0e000d05",
"fanSpeed33": "2600c[...]0000000",
"fanSpeed66": "2600ce0029[...]0000",
"fanSpeed100": "2600f4002a0d[...]9a000d0500000000"
}
}
]
}
Expected behavior
The accessory should show only 3 steps, rather than a single continuous slider. The button to invert the rotation should be hidden, and in the settings there should not be "Oscillate" as a toggle.
You've got those options inside your data section, try this instead:
{
"platform": "BroadlinkRM",
"name": "Broadlink RM",
"hideWelcomeMessage": true,
"accessories": [
{
"name": "Livingroom Ceiling Fan",
"type": "fan",
"hideRotationDirection": true,
"hideSwingMode": true,
"speedSteps": 3,
"stepSize": 34,
"data": {
"off": "2600e8002[...]e000d05",
"fanSpeed0": "2600e80[...]0e000d05",
"fanSpeed33": "2600c[...]0000000",
"fanSpeed66": "2600ce0029[...]0000",
"fanSpeed100": "2600f4002a0d[...]9a000d0500000000"
}
}
]
}
Thanks, good catch. I changed it but it's still not working completely. The swing and rotate toggles disappeared but it's still showing a continuous slider. Other ideas?
{
"name": "Livingroom Ceiling Fan v3",
"type": "fan",
"hideRotationDirection": true,
"hideSwingMode": true,
"speedSteps": 3,
"stepSize": 34,
"data": {
"off": "2600e800290f290e0d2a0e2a0d2a0d2a0e2a0d2a0d2a0e2a0d2a0d000105290f290e0d2a0e2a0d2a290f290e290e290f290e290e29ea290e290e0e2a0d2a0d2a0e2a0d2a290f0d2a0d2a0e2a0d000105290e290f0d2a0d2a0e2a0d2a0d2a2a0e0d2a0e290e2a0d000105290e2a0e0d2a0d2a0e2a0d2a0e292a0e0d2a0e2a0d2a0d000105290f290e0d2a0e2a0d2a0d2a0e2a290e0d2a0e2a0d2a0d000105290f290e0d2a0e2a0d2a0d2a0e2a290e0d2a0e2a0d2a0e000104290f290e0d2a0e2a0d2a0d2a0e2a290e0e2a0d2a0d2a0e0001042a0e290e0e2a0d2a0d2a0e2a0d2a290e0e2a0d2a0d2a0e000d05",
"fanSpeed0": "2600e800290f290e0d2a0e2a0d2a0d2a0e2a0d2a0d2a0e2a0d2a0d000105290f290e0d2a0e2a0d2a290f290e290e290f290e290e29ea290e290e0e2a0d2a0d2a0e2a0d2a290f0d2a0d2a0e2a0d000105290e290f0d2a0d2a0e2a0d2a0d2a2a0e0d2a0e290e2a0d000105290e2a0e0d2a0d2a0e2a0d2a0e292a0e0d2a0e2a0d2a0d000105290f290e0d2a0e2a0d2a0d2a0e2a290e0d2a0e2a0d2a0d000105290f290e0d2a0e2a0d2a0d2a0e2a290e0d2a0e2a0d2a0e000104290f290e0d2a0e2a0d2a0d2a0e2a290e0e2a0d2a0d2a0e0001042a0e290e0e2a0d2a0d2a0e2a0d2a290e0e2a0d2a0d2a0e000d05",
"fanSpeed33": "2600c400290e2a0e0d2a0d2a0e2a0d2a0d2a0e2a0d2a0d2a0e2a0d000105290e290f0d2a0d2a0e2a290e290e2a0e290e290f290e29e9290e2a0e0d2a0e2a0d2a290e0e2a0d2a0d2a0e2a290e29e9290f290e0d2a0e2a0d2a290e0e2a0d2a0d2a0e2a290e29e9290e2a0e0d2a0d2a0e2a290e0d2a0e2a0d2a0d2a2a0e29e9290e290e0e2a0d2a0e292a0e0d2a0e290e2a0d2a290f29e82a0e290e0e2a0d2a0d2a2a0e0d2a0d2a0e2a0d2a290e2ae82a0e290e0e290e2a0d2a290f0d2a0d2a0e2a0d2a290e2a000d0500000000",
"fanSpeed66": "2600ce00290e290e0e2a0d2a0d2a0e2a0d2a0d2a0e2a0d2a0d2a0e000105290e290e0e2a0d2a0d2a2a0e290e290f290e290e290f29e9290e290f0d2a0d2a0e290e2a0d2a0e290e2a290e0e290e000105290e290e0e2a0d2a0e290e2a0d2a0e2a0d2a290e0e2a0d000105290e290e0e2a0d2a0d2a0e2a0d2a0d2a0e2a290e0d2a0e0001042a0e290e0e290e2a0d2a0e290e2a0d2a0e2a290e0d2a0e0001042a0e290e0d2a0e2a0d2a0d2a0e2a0d2a0e2a290e0d2a0e0001042a0e290e0e290e2a0d2a0e2a0d2a0d2a0e2a290e0d2a0e000d0500000000000000000000",
"fanSpeed100": "2600f4002a0d2a0d0f290e290f280f290e290f280f290e290f280f0001042a0d2a0d0e2a0e290e292b0d2a0d2a0d2b0d2a0d2a0d2ae9290e290e0e2a0d2a0d2a0e2a0e290d2a0e2a0d2a0d2a2be8290e2a0d0e2a0d2a0d2a0e2a0d2a0e290e2a0d2a0e292ae9290e290e0e2a0d2a0e290e2a0d2a0e290e2a0d2a0e292ae9290e290e0e2a0d2a0d2a0e2a0d2a0d2a0e2a0d2a0d2a2be82a0d2a0d0e2a0e290e290f290e290e290f290e290e292be72b0d2a0d0f290e290e290f290e290e290f290e290f282be82b0c2b0c0f290e290f280f290e290f2810280e290f282ce72a0d2b0c0f290e290f290f280f280f290f280f2810282a000d0500000000"
}
}
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.