Skip to content

Commit

Permalink
fix cover tilt setting in AppDaemon backend (#939)
Browse files Browse the repository at this point in the history
  • Loading branch information
sairon committed Jul 24, 2023
1 parent 06174d3 commit 8850e1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/nspanel-lovelace-ui/luibackend/controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def button_press(self, entity_id, button_type, value):
apis.ha_api.get_entity(entity_id).call_service("close_cover_tilt")
if button_type == "tiltSlider":
pos = int(value)
apis.ha_api.get_entity(entity_id).call_service("set_cover_tilt_position", position=pos)
apis.ha_api.get_entity(entity_id).call_service("set_cover_tilt_position", tilt_position=pos)


if button_type == "button":
Expand Down

0 comments on commit 8850e1d

Please sign in to comment.