Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- type: picture-elements
- entity: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- camera_image: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- camera_view: live
- elements:
- - type: icon
- icon: 'mdi:arrow-up'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 25px
- bottom: 50px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: UP
- - type: icon
- icon: 'mdi:stop'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 25px
- bottom: 25px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: STOP
- - type: icon
- icon: 'mdi:arrow-down'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 25px
- bottom: 0px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: DOWN
- - type: icon
- icon: 'mdi:target'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- Left: 20px
- bottom: 0px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: TOPOS
- preset: 1
- - type: icon
- icon: 'mdi:arrow-left'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 50px
- bottom: 25px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: LEFT
- - type: icon
- icon: 'mdi:arrow-right'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 0px
- bottom: 25px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: RIGHT
- - type: icon
- icon: 'mdi:arrow-top-left'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 50px
- bottom: 50px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: LEFTUP
- - type: icon
- icon: 'mdi:arrow-top-right'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 0px
- bottom: 50px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: RIGHTUP
- - type: icon
- icon: 'mdi:arrow-bottom-left'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 50px
- bottom: 0px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: LEFTDOWN
- - type: icon
- icon: 'mdi:arrow-bottom-right'
- style:
- background: 'rgba(255, 255, 255, 0.5)'
- right: 0px
- bottom: 0px
- tap_action:
- action: call-service
- service: reolink_dev.ptz_control
- service_data:
- entity_id: camera.camera_9 #( Substituir pela vossa entity da camera IP)
- command: RIGHTDOWN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement