#:########################################################################################:#
# Package: CCTV Motion Feed
# File:    cctv_controls.yaml
# Version: v1.1.0
# Date:    2026-07-24
#
# Purpose:
#   Provides a Home Assistant binary sensor for front-door motion messages
#   published by the external CCTV system over MQTT.
#
# Dependencies:
#   - Home Assistant MQTT integration and broker connectivity.
#   - An external CCTV publisher for the configured motion topic.
#
#
# Version History:
#   - v1.1.0 (2026-07-24): Added explicit numeric ON/OFF payloads (P013-F039).
#   - v1.0.0 (2022-10-11): Initial CCTV front-door motion sensor package.
#:########################################################################################:#

mqtt:
  binary_sensor:
    - unique_id: front_door_movement_camera_corner
      name: "Front Door Movement"
      state_topic: "viewroad-status/cctv/front_door_motion"
      payload_on: "1"
      payload_off: "0"
      icon: mdi:exit-run
