Skip to content

[Issue]: Custom action that toggles device leads to 404 #546

@archmisha

Description

@archmisha

Description

I made a custom button to toggle some device entity and when clicking getting 404

Version

0.14.0.2w

Automation Config

alias: Front Door Notification with Face Detection
description: ""
use_blueprint:
  path: SgtBatten/Stable.yaml
  input:
    camera:
      - camera.door_camera
    base_url: https://xxx.duckdns.org
    message: "{{ 'Someone' if label == 'Person' else label }} is at the door"
    custom_action_manual:
      - type: toggle
        device_id: xxx
        entity_id: xxx
        domain: switch
    url_2: custom-{{ this.entity_id }}
    button_2: Unlock Door
    url_1: app://com.mcu.reolink
    button_1: Reolink App
    tap_action: "{{base_url}}/front-door/0"
    debug: true
    mqtt_topic: frigate/reviews
    notify_group: owners
    notify_device: xxx
    url_3: >-
      {{base_url}}/api/frigate{{client_id}}/notifications/{{id}}/{{camera}}/clip.mp4
    button_3: "View Clip "
    master_condition:
      - condition: template
        value_template: >-
          {{ now() - states.binary_sensor.door_main_on_off.last_updated >
          timedelta(minutes=1) }}
            
    zone_filter: true
    zones:
      - area_to_detect

Frigate Config

Any other relevant information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions