Skip to content

Add power toggles directly to Android app device list #98

@binarybucks

Description

@binarybucks

Currently all controls in the Android app are hidden behind a popup.
@jpmens mentioned that it would be good to also show the power toggle in the list-view for quick access.

             < Room >
FAN1                               On
Ventilator                        Off            
Whatever                                <- E.g a device does not have  power toggle

What is the power toggle could be defined with an additional meta attribute along the lines
/controls/$deviceId/controls/PowerControl/meta/isPowerControl:1

However, one should probably catch non unique power controls.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions