diff options
-rw-r--r-- | scarecrow.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scarecrow.rb b/scarecrow.rb index 874ae86..fc828a4 100644 --- a/scarecrow.rb +++ b/scarecrow.rb @@ -97,7 +97,7 @@ get '/temperature/:device_id' do end get '/humidity/:device_id' do - device_id = "mercury" if (device_id == "air" || device_id == "kitchen") + device_id = "mercury" if (device_id == "air" || device_id == "basement") device_id = "cricket0" if (device_id == "propagator") humidity = Humidity.last(device: device_id)[:value] "#{humidity}" |