Skip to content

Commit a1b2593

Browse files
committed
More garage debug
1 parent df842cf commit a1b2593

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

custom_components/zimi/cover.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,26 +66,36 @@ async def async_close_cover(self, **kwargs: Any) -> None:
6666
@property
6767
def current_cover_position(self) -> int | None:
6868
"""Return the current cover/door position."""
69+
_LOGGER.debug("current_cover_position(%d) for %s",
70+
self._entity.percentage, self.name)
6971
return self._entity.percentage
7072

7173
@property
7274
def is_closed(self) -> bool | None:
7375
"""Return true if cover is closed."""
76+
_LOGGER.debug("is_closed(%d) for %s",
77+
self._entity.percentage, self.name)
7478
return self._entity.is_closed
7579

7680
@property
7781
def is_closing(self) -> bool | None:
7882
"""Return true if cover is closing."""
83+
_LOGGER.debug("is_closing(%d) for %s",
84+
self._entity.percentage, self.name)
7985
return self._entity.is_closing
8086

8187
@property
8288
def is_opening(self) -> bool | None:
8389
"""Return true if cover is opening."""
90+
_LOGGER.debug("is_opening(%d) for %s",
91+
self._entity.percentage, self.name)
8492
return self._entity.is_opening
8593

8694
@property
8795
def is_open(self) -> bool | None:
8896
"""Return true if cover is open."""
97+
_LOGGER.debug("is_open(%d) for %s",
98+
self._entity.percentage, self.name)
8999
return self._entity.is_open
90100

91101
async def async_open_cover(self, **kwargs: Any) -> None:

custom_components/zimi/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"codeowners": [
55
"@markhannon"
66
],
7-
"version": "2.0.2-dev2",
7+
"version": "2.0.2-dev3",
88
"config_flow": true,
99
"documentation": "https://www.home-assistant.io/integrations/zimi",
1010
"iot_class": "local_push",

0 commit comments

Comments
 (0)