Creating a Virtual Drop Down List

Is it possible to create a variable or virtual device with a drop down list/input that only allows a pre-defined set of options?

Is there a way that variables can be displayed on the Home Screen as a favourite?

I am trying to set a variable or device against which I can test the current period in the day to be used by flows.

If you create a Homey app, you can create a device with a selector (enum type custom capability)

Thanks a this looks a little beyond my technical capabilites.

1 Like

luckily, someone else already did this for you :wink::

Thanks

To save you some time, that app doesn’t allow you to solve the thing you were asking for. It doesn’t let you create a device with a selector with arbitrary options that you define. Best you could do is create a virtual device of some existing type and then give it one of the existing standard built-in capabilites which happens to be an enum (like Thermostat mode which can be Heat, Cool, Off etc).

There is another app which gets slightly closer which is called Device Capabilities | Homey which allows you to create an Advanced Virtual Device. It’s more complex but you can add an arbitrary drop-down list capability to a virtual device. Snag is you still have a limited choice of “sets of menu items” that the drop-down list will offer. See below.

EDIT: There’s a new app called FlowBits | Homey which has support for modes and looks to explicitly support day periods which is the use case you were asking for. I’ve not tried it yet so can’t be sure how well it would meet your needs but worth checking out as it looks way simpler than the above options.

1 Like

What options do you need in the list?

I have a couple of lists I normally use for Day Period it is normally dawn, day, dusk and dream

For Special Events it is Birthday, Xmas day, Xmas lead up, New Year, New Year’s Day, Valentines, plus a few others

Thank you for this I am looking to see how I can use.

No, it’s possible to request your own list(s), these will be added to the list in your screenshot.
Only the dev can add it to the app, which is dictated by Athom unfortunately.

This info is a bit splattered over the AVD topic