how do you do?
What is your state of implementing the localapi? I am curious about the coming HA integration? š
Kind ā£regards
Stefan
Am 8. Juli 2021, 11:37, um 11:37, Gabriel Pulido @.> schrieb:
@. requested changes on this pull request.
Thanks for the changes,
please review the comments.
@@ -2,7 +2,7 @@
-
+
I know it's also my fault, but we need to avoid to add the pycharm
config files.
The main branch doesn't have any editor configuration.
We need to add a .idea to the .gitignore
Once the branch is finished I will avoid to merge to the main branch
any editor config
self._machine = machine
self._zone_id = zone_id
self.zone_state = data
self._zone_id = zone_id
self._zone_state = data
The property must be used instead of the inner variable.
Only use the inner if there is a proper reason to do.
So this has to be self.zone_state = data
def is_on(self):
return self.zone_state['on']
return self._zone_state['on']
Same as before. use property accessor:
self.zone_state['on']
Hi Gabriel,
how do you do? What is your state of implementing the localapi? I am curious about the coming HA integration? š
Kind ā£regards Stefan
Am 8. Juli 2021, 11:37, um 11:37, Gabriel Pulido @.> schrieb: @. requested changes on this pull request.