The Change device type of a switch helper integrations lets you convert any Home Assistant switch into a Home Assistant Light, Cover, Fan, Lock, Siren, or Valve.
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 e.g, 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 Change device type of a switch helper integration, you can convert those switches into the entity types that best matches your use case.
To add the Switch as X integration to your Home Assistant instance, use this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
Where compatible, Change device type of a switch will appear on entity properties. A list of entities can be found in Settings > Devices & Services > Entities.