Merge pull request #1420 from shakemid/fix_switchbotmeter_multi

fix switchbotmeter_multi to add graph_args --lower-limit --upper-limit
This commit is contained in:
Kenyon Ralph 2024-03-16 16:58:10 -07:00 committed by GitHub
commit a925960d04
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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