Skip to content

Commit

Permalink
remove unneeded method in devie model
Browse files Browse the repository at this point in the history
  • Loading branch information
bsamm committed Oct 11, 2020
1 parent 5b8926c commit 583c05a
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/models/device.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ def all_connected
}
end

def first
all.first
end

def extra_attributes(name)
{
:led_status => WebConnectedLed.new(name)&.status
Expand Down

0 comments on commit 583c05a

Please sign in to comment.