mirror of
https://github.com/joBr99/nspanel-lovelace-ui.git
synced 2026-02-17 10:27:00 +01:00
fix cover tilt setting in AppDaemon backend (#939)
This commit is contained in:
@@ -275,7 +275,7 @@ class LuiController(object):
|
|||||||
apis.ha_api.get_entity(entity_id).call_service("close_cover_tilt")
|
apis.ha_api.get_entity(entity_id).call_service("close_cover_tilt")
|
||||||
if button_type == "tiltSlider":
|
if button_type == "tiltSlider":
|
||||||
pos = int(value)
|
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":
|
if button_type == "button":
|
||||||
|
|||||||
Reference in New Issue
Block a user