DrScr3w
(Alex)
December 24, 2024, 2:39pm
1
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
xsherlock
(Maciej Eckstein)
January 20, 2025, 3:05pm
2
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
DrScr3w
(Alex)
January 24, 2025, 7:35pm
3
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
DrScr3w
(Alex)
May 3, 2025, 12:49pm
4
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.