Skip to content

Commit

Permalink
Update v2restapi.py
Browse files Browse the repository at this point in the history
  • Loading branch information
hendriksen-mark committed Sep 2, 2024
1 parent 6511864 commit 0416ef1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions BridgeEmulator/flaskUI/v2restapi.py
Original file line number Diff line number Diff line change
Expand Up @@ -595,6 +595,7 @@ def get(self, resource, resourceid):
return {"errors": [], "data": [object.getButtons()]}
elif resource == "relative_rotary":
return {"errors": [], "data": [object.getRotary()]}
elif resource == "temperature":
return {"errors": [], "data": [object.getTemperature()]}
elif resource == "light_level":
return {"errors": [], "data": [object.getLightlevel()]}
Expand Down

0 comments on commit 0416ef1

Please sign in to comment.