AdyRock / com.ady.button_plus

GNU General Public License v3.0
2 stars 3 forks source link

Use boolean variable as button #74

Closed Joolee closed 8 months ago

Joolee commented 8 months ago

Is your feature request related to a problem? Please describe. On/Off buttons are perfectly mappable to On/Off variables, same as On/Off capabilities.

Describe the solution you'd like Add the user-defined On/Off Homey variables to the drop-down list in the button-configuration page. State of the variable/button should be kept up-to-date both with changes made by Homey and by pushing the device button

Describe alternatives you've considered Create flows to create this capability

AdyRock commented 8 months ago

Sounds good.

Torch1969 commented 8 months ago

+1

AdyRock commented 8 months ago

Looks like this one won't be possible as it seems an app doesn't have permission to change variable states. I can add them as status indicators so the text can change and the lights can come on, but the change of state would have to be done in a flow.

AdyRock commented 8 months ago

Added as read-only state, so it shows the value on the button and controls the LED, but a flow is needed to toggle the variable.