add graph_args --lower-limit --upper-limit

This commit is contained in:
shakemid 2024-03-15 22:38:34 +09:00
parent 162fdae459
commit b8d47c6626
1 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ graph_title SwitchBot Meter Humidity
graph_category sensors
graph_scale no
graph_vlabel Humidity %
graph_args --base 1000
graph_args --base 1000 --lower-limit 0 --upper-limit 100
EOF
for deviceid in ${deviceids}
do
@ -97,7 +97,7 @@ graph_title SwitchBot Meter Battery
graph_category sensors
graph_scale no
graph_vlabel Battery %
graph_args --base 1000
graph_args --base 1000 --lower-limit 0 --upper-limit 100
EOF
for deviceid in ${deviceids}
do