UI Toggle for binary variable

I’m a noob, so forgive me if this has been asked and answered, but I couldn’t find a solution.

I want to setup a binary variable that can be controlled from a card in the UI, so I can include it in my conditions. So I can schedule a daily wake-up routine for a certain time on weekdays, but can toggle a variable named “Sleep-in” for holidays or days off. Likewise I can set-up a variable for “Guests present” that overrides presence detection.

I saw that binary sensors can be used for setting up the variables, but did not see how to get a card in the UI to toggle their states.

Any help for a noob would be appreciated.

You’re looking for ‘input_boolean’

Brilliant! Thank you for helping me find the correct terminology.

I found the documentation on input_booleans here https://www.home-assistant.io/integrations/input_boolean/, and was able to easily make them in the UI with Configuration -> Helper.

1 Like