Virtual switch

I would like to have a switch that is override for heating rules. Simple on/off with state stored in db - so I could use it in automation for condition “when switch override is on, do something”. Is it possible?

1 Like

Use an input boolean. Automate based on the state of the input boolean.

Can I have in frontend like switch? Data is stored in DB?

OK, got it. Thanks!