title: Camera Live
icon: mdi:cctv
cards:
  - type: horizontal-stack
    cards:
      - type: "custom:button-card"
        name: Porch
        entity: input_label.current_stream
        icon: mdi:cctv
        color_type: card
        style:
          - font-weight: bold
          - color: rgb(0, 0, 5)
        state:
          - value: "frontyard"
            color: var(--primary-color)
        action: service
        service:
          domain: script
          action: stream_frontdoor_camera_to_chromecast

      - type: "custom:button-card"
        name: Driveway
        entity: input_label.current_stream
        icon: mdi:cctv
        color_type: card
        style:
          - font-weight: bold
          - color: rgb(0, 0, 5)
        state:
          - value: "driveway"
            color: var(--primary-color)
        action: service
        service:
          domain: script
          action: stream_driveway_camera_to_chromecast

      - type: "custom:button-card"
        name: Patio
        entity: input_label.current_stream
        icon: mdi:cctv
        color_type: card
        style:
          - font-weight: bold
          - color: rgb(0, 0, 5)
        state:
          - value: "patio"
            color: var(--primary-color)
        action: service
        service:
          domain: script
          action: stream_patio_camera_to_chromecast

      - type: "custom:button-card"
        name: Playarea
        entity: input_label.current_stream
        icon: mdi:cctv
        color_type: card
        style:
          - font-weight: bold
          - color: rgb(0, 0, 5)
        state:
          - value: "playarea"
            color: var(--primary-color)
        action: service
        service:
          domain: script
          action: stream_playarea_camera_to_chromecast

  - type: picture-glance
    id: camera_frontdoor_camera
    title: Frontdoor Camera
    entity: camera.frontdoor_camera
    camera_image: camera.frontdoor_camera
    camera_view: live
    show_info: true
    tap_action:
      action: more-info
    entities:
      - switch.frontyard_light
      - binary_sensor.frontdoor_camera_motion

  - type: picture-glance
    id: camera_patio_camera
    title: Patio Camera
    entity: camera.patio_camera
    camera_image: camera.patio_camera
    show_info: true
    tap_action:
      action: more-info
    entities:
      - switch.wemobackyardlightswitch
      - binary_sensor.patio_camera_motion

  - type: picture-glance
    id: camera_driveway_camera
    title: Driveway Camera
    entity: camera.driveway_camera
    camera_image: camera.driveway_camera
    show_info: true
    tap_action:
      action: more-info
    entities:
      - switch.frontyard_light
      - binary_sensor.driveway_camera_motion

  - type: picture-glance
    id: camera_playarea_camera
    title: Playarea Camera
    entity: camera.playarea_camera
    camera_image: camera.playarea_camera
    show_info: true
    tap_action:
      action: more-info
    entities:
      - switch.wemobackyardlightswitch
      - binary_sensor.playarea_camera_motion

  - type: picture-glance
    id: camera_garage_camera
    title: Garage Camera
    entity: camera.garage_camera
    camera_image: camera.garage_camera
    show_info: true
    tap_action:
      action: more-info
    entities:
      - switch.garage

  - type: picture-glance
    id: camera_3dprinter_camera
    title: 3D Printer Camera
    entity: camera.3d_printer_camera
    camera_image: camera.3d_printer_camera
    show_info: true
    tap_action:
      action: more-info
    entities:
      - binary_sensor.motion_sensor_158d00016c2d0e
      - binary_sensor.octoprint_printing
