Home Assistant 101: How to Create Virtual Switches

Published at : 23 Dec 2025

I'll cover the what, why and how of creating and using virtual (template) switches in Home Assistant. In addition to a few different examples, I'll also cover a couple of different methods or techniques for creating 'switchable' entities that are not tied to a normal switch or light.

Check below for links to additional information, including a copy of all the YAML I show and use in the video.

Chapter Links:
=============
00:00 Introduction
02:27 Light Brightness Example
08:45 Streaming Services Example
13:14 WLED Display Example
18:20 Input Boolean Examples
25:12 Wrap up


Additional Information:
======================
YAML Used in this video: https://gist.github.com/Resinchem/e0daa78f2f3bbb2db6a393f3f3b22e56
Using Custom Button Cards: https://youtu.be/5Pi21pqfbxA
@SlackerLabs Master Home Assistant Templates: https://youtu.be/m1aqyX6LXlo
Building the WLED Hexagon Display Shown: https://youtu.be/lNcsT5DZjAM

You can help support the channel, or just say thanks, by buying me a cup of coffee at:
https://www.buymeacoffee.com/resinchemtech

#homeassistant #automation #dashboard