Skip to content

Commit

Permalink
test cover position
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Mar 27, 2024
1 parent cf7a7bc commit 418142f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Elatko devices are exemplarily mentioned. You can find [here](https://www.eltako
* A5-04-01 (Temperature and Humidity Sensor)
* A5-04-02 (Temperature and Humidity Sensor e.g.: FLGTF, FLT58, FFT60)
* A5-04-03 (Temperature and Humidity Sensor e.g.: FFT60)
* A5-06-01 (Light - Twilight and Illumination)
* A5-06-01 (Light - Twilight and daylight in one sensor value)
* A5-07-01 (Occupancy sensor)
* A5-08-01 (Light-, Temperature-, Occupancy Sensor e.g.: FABH65S, FBH65, FBH65S, FBH65TF)
* A5-09-0C (Air Quality / VOC⁠ (Volatile Organic Compounds) e.g. [FLGTF](https://github.com/grimmpp/home-assistant-eltako/tree/main/docs/flgtf_temp_humidity_air_quality/readme.md))
Expand Down
6 changes: 5 additions & 1 deletion custom_components/eltako/cover.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,11 @@ def value_changed(self, msg):
self._attr_is_closed = True
self._attr_is_opening = False
self._attr_is_closing = False
elif self._attr_current_cover_position == 100:
# elif self._attr_current_cover_position == 100:
# self._attr_is_closed = False
# self._attr_is_opening = False
# self._attr_is_closing = False
else:
self._attr_is_closed = False
self._attr_is_opening = False
self._attr_is_closing = False
Expand Down

0 comments on commit 418142f

Please sign in to comment.