I currently have two virtual switches that I use as configuration options:
Settings/ChristmasLights
Settings/BatteryPowered
I use these as conditions to essentially enable or disable certain automations. Unfortunately, it seems that they are cloud hosted which means any automation referencing them won’t run locally. Are there any options to do what I do but have the automation run locally?
OK. That lets you create local switches by choosing to register them to a hub, as it puts it.
It actually creates devices of type VIRTUAL using the API. You can also do the same thing using the CLI. You can also use the Advanced Web App by choosing to create a device. You can also use your own choice of tool to make the API call.
There are also other ways of creating local virtual switches with community Edge drivers.