c_smart_daylight.cfg modified - 20/04/25 - 17:40:15
This commit is contained in:
1 parent
0fc773c094
commit
f1a5f01c19
1 file changed
+2
-2
@@ -36,7 +36,7 @@ gcode:
|
||||
{% set target = 1.0 %}
|
||||
{% endif %}
|
||||
|
||||
{% set rounded_target = (target * 100)|int / 100.0 %}
|
||||
{% set rounded_target = (target * 10)|round * 0.1 %}
|
||||
{% set time_display = hour|string ~ ":" ~ ("%02d"|format(minute)) %}
|
||||
{% set fade_msg = "💡 Brightness: " ~ (rounded_target * 100)|int|string ~ "% at " ~ time_display %}
|
||||
{% endif %}
|
||||
@@ -61,4 +61,4 @@ gcode:
|
||||
initial_duration: 1
|
||||
gcode:
|
||||
SMART_DAYLIGHT
|
||||
UPDATE_DELAYED_GCODE ID=SMART_DAYLIGHT_LOOP DURATION=300
|
||||
UPDATE_DELAYED_GCODE ID=SMART_DAYLIGHT_LOOP DURATION=5
|
||||
Reference in new issue
Block a user