diff --git a/app/models/device.rb b/app/models/device.rb index ad52e96..99824d3 100644 --- a/app/models/device.rb +++ b/app/models/device.rb @@ -9,10 +9,6 @@ def all_connected } end - def first - all.first - end - def extra_attributes(name) { :led_status => WebConnectedLed.new(name)&.status