The Switch as X helper lets you convert any Home Assistant switch entity into a light, cover, fan, lock, or siren entity.
In Home Assistantβs world, a wall plug is a switch. And while that is correct for a wall plug, in general, those plugs are often used with, for example, a light fixture or a fan. General-purpose relays are similar, as they are sometimes used for things like locks or garage doors.
Using the Switch as X integration, you can convert those switches into the entity types that best match your use case. The helper will create a new entity of the desired type and use the switch entity as its source to mirror its state and commands.
Devices & entitiesΒΆ
Spook does not provide any new devices or entities for this integration.
ActionsΒΆ
Spook does not provide action enhancements for this integration.
RepairsΒΆ
While Spook is floating around in your Home Assistant instance, it will raise repairs issues if it has found something that is not right.
Unknown source entityΒΆ
Spook inspects all Switch as X created entities, in case one of your existing helper entities points to a source switch entity, that no longer exists. If Spook finds such a case, it will raise a repair issue, informing you about the problematic entity.
To resolve the raised issue, you can either remove the helper or fix the referenced source entity ID. Spook will automatically remove the repair issue once the issue is fixed.
Features requests, ideas, and supportΒΆ
If you have an idea on how to further enhance this integration, for example, by adding a new action entity, or repairs detection; feel free to let us know in our discussion forums.
Are you stuck using these new features? Or maybe youβve run into a bug? Please check the Support page on where to go for help.