Add set positions to baby monitor
This commit is contained in:
@@ -19,7 +19,7 @@ elements:
|
||||
entity_id: {{ entity }}
|
||||
dir: left
|
||||
style:
|
||||
left: 10%
|
||||
left: 30px
|
||||
top: 50%
|
||||
color: yellow
|
||||
|
||||
@@ -32,7 +32,7 @@ elements:
|
||||
entity_id: {{ entity }}
|
||||
dir: right
|
||||
style:
|
||||
left: 90%
|
||||
right: 6px
|
||||
top: 50%
|
||||
color: yellow
|
||||
|
||||
@@ -46,7 +46,7 @@ elements:
|
||||
dir: up
|
||||
style:
|
||||
left: 50%
|
||||
top: 10%
|
||||
top: 30px
|
||||
color: yellow
|
||||
|
||||
- type: icon
|
||||
@@ -59,5 +59,30 @@ elements:
|
||||
dir: down
|
||||
style:
|
||||
left: 50%
|
||||
top: 90%
|
||||
bottom: 6px
|
||||
color: yellow
|
||||
|
||||
- type: icon
|
||||
icon: mdi:numeric-1-box-outline
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: rest_command.camera_position
|
||||
service_data:
|
||||
entity_id: camera.barnrum
|
||||
position: 0
|
||||
style:
|
||||
left: 30px
|
||||
bottom: 0px
|
||||
color: blue
|
||||
- type: icon
|
||||
icon: mdi:numeric-2-box-outline
|
||||
tap_action:
|
||||
action: call-service
|
||||
service: rest_command.camera_position
|
||||
service_data:
|
||||
entity_id: camera.barnrum
|
||||
position: 1
|
||||
style:
|
||||
left: 66px
|
||||
bottom: 0px
|
||||
color: green
|
||||
|
||||
Reference in New Issue
Block a user