Skip to content

Commit

Permalink
🔧 fix for service set_miot_property (#1551)
Browse files Browse the repository at this point in the history
  • Loading branch information
al-one committed Mar 1, 2024
1 parent 76e4316 commit 24e0b5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/xiaomi_miot/core/miot_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -1041,5 +1041,8 @@ def is_success(self):
def spec_error(self):
return MiotSpec.spec_error(self.code)

def to_json(self):
return self.result

def __str__(self):
return f'{self.result}'

0 comments on commit 24e0b5a

Please sign in to comment.