[shelly](fix): support shelly v3 (#182)

* updates for shelly v3

* new major for shelly v3

* fix: default option value
This commit is contained in:
Josh Slate
2026-07-31 17:18:32 -04:00
committed by GitHub
parent 125086f8f5
commit 083230d7f9
5 changed files with 78 additions and 22 deletions
+26 -1
View File
@@ -1,7 +1,7 @@
id = "joshuaslate/shelly"
name = "Shelly"
icon = "package"
version = "1.0.1"
version = "2.0.0"
plugin_api = 3
license = "MIT"
author = "joshuaslate"
@@ -47,6 +47,24 @@ entry = "widget.luau"
description_key = "settings.color.description"
default = "on_surface"
[[widget.setting]]
key = "bar_label"
type = "select"
label_key = "settings.bar_label.label"
description_key = "settings.bar_label.description"
default = "count_and_label"
options = [
{ value = "count_and_label", label_key = "settings.bar_label.options.count_and_label" },
{ value = "count_only", label_key = "settings.bar_label.options.count_only" }
]
[[widget.setting]]
key = "bar_font_size"
type = "int"
label_key = "settings.bar_font_size.label"
description_key = "settings.bar_font_size.description"
default = 14
[[widget.setting]]
key = "glyph"
type = "glyph"
@@ -61,6 +79,13 @@ entry = "widget.luau"
description_key = "settings.glyph_color.description"
default = "on_surface"
[[widget.setting]]
key = "glyph_size"
type = "int"
label_key = "settings.glyph_size.label"
description_key = "settings.glyph_size.description"
default = 14
[[widget.setting]]
key = "click_action"
type = "select"