Skip to content

Commit

Permalink
Example correction (#37406)
Browse files Browse the repository at this point in the history
  • Loading branch information
G1z authored Feb 11, 2025
1 parent 42a45dc commit 73148cb
Showing 1 changed file with 32 additions and 24 deletions.
56 changes: 32 additions & 24 deletions source/_integrations/foscam.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,11 @@ elements:
right: 25px
bottom: 50px
tap_action:
action: call-service
action: foscam.ptz
data:
action: perform-action
perform_action: foscam.ptz
target:
entity_id: camera.bedroom
data:
movement: up
- type: icon
icon: "mdi:arrow-down"
Expand All @@ -85,10 +86,11 @@ elements:
right: 25px
bottom: 0px
tap_action:
action: call-service
action: foscam.ptz
data:
action: perform-action
perform_action: foscam.ptz
target:
entity_id: camera.bedroom
data:
movement: down
- type: icon
icon: "mdi:arrow-left"
Expand All @@ -97,10 +99,11 @@ elements:
right: 50px
bottom: 25px
tap_action:
action: call-service
action: foscam.ptz
data:
action: perform-action
perform_action: foscam.ptz
target:
entity_id: camera.bedroom
data:
movement: left
- type: icon
icon: "mdi:arrow-right"
Expand All @@ -109,10 +112,11 @@ elements:
right: 0px
bottom: 25px
tap_action:
action: call-service
action: foscam.ptz
data:
action: perform-action
perform_action: foscam.ptz
target:
entity_id: camera.bedroom
data:
movement: right
- type: icon
icon: "mdi:arrow-top-left"
Expand All @@ -121,10 +125,11 @@ elements:
right: 50px
bottom: 50px
tap_action:
action: call-service
action: foscam.ptz
data:
action: perform-action
perform_action: foscam.ptz
target:
entity_id: camera.bedroom
data:
movement: top_left
- type: icon
icon: "mdi:arrow-top-right"
Expand All @@ -133,10 +138,11 @@ elements:
right: 0px
bottom: 50px
tap_action:
action: call-service
action: foscam.ptz
data:
action: perform-action
perform_action: foscam.ptz
target:
entity_id: camera.bedroom
data:
movement: top_right
- type: icon
icon: "mdi:arrow-bottom-left"
Expand All @@ -145,10 +151,11 @@ elements:
right: 50px
bottom: 0px
tap_action:
action: call-service
action: foscam.ptz
data:
action: perform-action
perform_action: foscam.ptz
target:
entity_id: camera.bedroom
data:
movement: bottom_left
- type: icon
icon: "mdi:arrow-bottom-right"
Expand All @@ -157,10 +164,11 @@ elements:
right: 0px
bottom: 0px
tap_action:
action: call-service
action: foscam.ptz
data:
action: perform-action
perform_action: foscam.ptz
target:
entity_id: camera.bedroom
data:
movement: bottom_right
```
Expand Down

0 comments on commit 73148cb

Please sign in to comment.