#Tapo C500 move_to_preset

1 messages · Page 1 of 1 (latest)

near cove
#

here's my code, and i've tried every way of adding the move to home button i know in advanced camera card, i think the problem is with my code and how i'm trying to activate that preset as the other ptz controls work fine.

type: custom:advanced-camera-card
cameras:

  • camera_entity: camera.tapo_c500_77f8_hd_stream
    live_provider: ha
    ptz:
    actions_up:
    action: perform-action
    perform_action: button.press
    target:
    entity_id: button.tapo_c500_77f8_move_up
    actions_down:
    action: perform-action
    perform_action: button.press
    target:
    entity_id: button.tapo_c500_77f8_move_down
    actions_left:
    action: perform-action
    perform_action: button.press
    target:
    entity_id: button.tapo_c500_77f8_move_left
    actions_right:
    action: perform-action
    perform_action: button.press
    target:
    entity_id: button.tapo_c500_77f8_move_right
    actions_home:
    action: perform-action
    perform_action: call-service
    service: select.select_option
    target:
    entity_id: select.tapo_c500_77f8_move_to_preset
    data:
    option: innkjørsel
    menu:
    style: hidden
    position: left
    buttons:
    ptz_controls:
    enabled: true
    permanent: true
    ptz_home:
    enabled: true
    permanent: true
    icon: mdi:home