You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When this project started, we only had Turn On and Turn Off. We should consider replacing the existing three pairs with three endpoints (instead of 6) and have said endpoints take On/Off as a query parameter.
Are you trying to fix a problem?
No response
Any lead on how this feature can be implemented?
We don't need to break anything at the start; we can add wrapper endpoints around the existing endpoints, which we will deprecate and eventually remove from the docs and make private.
Following other endpoints' naming conventions and clarifying the turn_on/off endpoints while we're at it. I suggest adding the following endpoints:
Control Power (/switcher/control_power)
Turn On (/switcher/turn_on)
Turn Off (/switcher/turn_off)
Control Shutter (/switcher/control_shutter)
Turn On Shutter Child Lock (/switcher/turn_on_shutter_child_lock)
Turn Off Shutter Child Lock (/switcher/turn_off_shutter_child_lock)
Control Light (/switcher/control_light)
Turn On Light (/switcher/turn_on_light)
Turn Off Light (/switcher/turn_off_light)
The text was updated successfully, but these errors were encountered:
What did you have in mind?
When this project started, we only had Turn On and Turn Off. We should consider replacing the existing three pairs with three endpoints (instead of 6) and have said endpoints take On/Off as a query parameter.
Are you trying to fix a problem?
No response
Any lead on how this feature can be implemented?
We don't need to break anything at the start; we can add wrapper endpoints around the existing endpoints, which we will deprecate and eventually remove from the docs and make private.
Following other endpoints' naming conventions and clarifying the turn_on/off endpoints while we're at it. I suggest adding the following endpoints:
The text was updated successfully, but these errors were encountered: