Switch Simple - Card from ScrewPlate

Here is a simple widget for switching lights or other devices, for example.

You can display the toggle and the icon together or separately. The icon is clickable and the colors can be adjusted accordingly.

ScrewPlate will be a template set with various widgets, all of which are highly customizable in a unified style. More information on GitHub

Screenshots

Changelog

In each widget there is a tag with version, please always make sure to use the latest version.

Change and further information on GitHub

Resources

https://raw.githubusercontent.com/DrScr3w/ScrewPlate/refs/heads/main/templates/Card_Template_Switch_Simple.yaml

2 Likes

hi, great template, can you please post the other colors from those examples as code for easy/quick copy paste.

I settled on this color scheme. Any clue how to limit distances below header and above footer? a bit.

Thanky you for sharing.

Maciej

Thanks, here are the codes from the example. Otherwise I always look here for colors.

  cardBgColor: "#fefae0"
  cardBorderColor: "#606c38"
  cardBorderRadius: "40"
  contentTextColor: "#bc6c25"
  cardBgColor: "#71a4dd"
  cardBorderColor: "#71a4dd"
  cardBorderRadius: "40"
  cardBorderSize: "3"
  contentTextColor: "#FFFFFF"

Mostly just more distance or less between content and header or what do you mean?

1 Like

I have renamed the widget from “Single” to “Simple”.
You can now display the toggle and the icon together or separately, the icon is now also clickable and the colors can be adjusted accordingly.