Skip to content
This repository has been archived by the owner on Oct 10, 2024. It is now read-only.

Commit

Permalink
minor fix when setting state
Browse files Browse the repository at this point in the history
  • Loading branch information
Nico-Duduf committed Nov 29, 2022
1 parent 3255ec1 commit cdab1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ramses/ram_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def state(self):
def setState(self, state):
"""Sets a new state"""
data = self.data()
data["state"] = state.uuid()
data["state"] = RamObject.getUuid(state)
data["date"] = datetime.now().strftime("%Y-%m-%d- %H:%M:%S")
self.setData(data)

Expand Down

0 comments on commit cdab1a7

Please sign in to comment.