#Virtual switch
1 messages · Page 1 of 1 (latest)
Yes, those are called helpers (Settings => Devices & services => Helpers). If you only want 'On' and 'Off' you can make a input_boolean (in UI known as Toggle). But if you require three states you can make an input_select (Dropdown in the UI). That allows you to freely assign states.
This you can use in (a) automation(s) to do what you want.