-
Notifications
You must be signed in to change notification settings - Fork 24
Open
duhow/esphome-nspanel-lovelace-native
#3Description
Hey,
i want to control my two living room covers, i've created in esphome three internal buttons that trigger the HA actions (open, close, stop) which i want to activate using the TFT without exposing these to HA.
is there a way to do this?
relevant code:
nspanel_lovelace:
...
...
- type: cardGrid
title: Rollo
id: rollo
hidden: true
entities:
- entity_id: button.cover_wz_open
icon: chevron-double-up
name: Auf
- entity_id: button.cover_wz_stop
icon: stop
name: Stop
- entity_id: button.cover_wz_close
icon: chevron-double-down
name: Zu
button:
- platform: template
id: cover_wz_open
internal: true
on_press:
- homeassistant.action:
action: cover.open_cover
data:
target:
"area_id: b973d73bfc3511eab52731eb6f81cdc5"
- platform: template
id: cover_wz_close
internal: true
on_press:
- homeassistant.action:
action: cover.close_cover
data:
target:
"area_id: b973d73bfc3511eab52731eb6f81cdc5"
- platform: template
id: cover_wz_stop
internal: true
on_press:
- homeassistant.action:
action: cover.stop_cover
data:
target:
"area_id: b973d73bfc3511eab52731eb6f81cdc5"
HA Log entry:
Logger: homeassistant.helpers.service
Quelle: helpers/target.py:131
Erstmals aufgetreten: 16:09:43 (2 Vorkommnisse)
Zuletzt protokolliert: 16:09:45
Referenced entities button.cover_wz_stop are missing or not currently available
Referenced entities button.cover_wz_open are missing or not currently available
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels