Skip to content

P2000

Dutch emergency services (police/fire/ambulance) dispatch feed. Shared as-is from my own Home Assistant dashboard for reference/inspiration — entity IDs, sensors, and automations are specific to my setup and won't work unmodified in yours.

  - type: sections
    max_columns: 4
    title: P2000
    path: p2000
    icon: mdi:alarm-light
    subview: true
    sections:
      - type: grid
        cards:
          - type: heading
            icon: mdi:exclamation-thick
            heading_style: subtitle
            heading: Current Event
          - type: markdown
            content: >
              Datum : {{ state_attr('sensor.politie_brabant', 'datum' ) }}  
              Tijd: {{ state_attr('sensor.politie_brabant', 'tijd') }}


              Melding : {{ state_attr('sensor.politie_brabant', 'melding')
              }}<br>


              {{ state_attr('sensor.politie_brabant', 'tekstmelding') }}<br>

              -

              Plaats: {{ state_attr('sensor.politie_brabant', 'plaats') }}

              Straat : {{ state_attr('sensor.politie_brabant', 'straat') }} 

              Regio : {{ state_attr('sensor.politie_brabant', 'regio') }}

              capcode : {{ state_attr('sensor.politie_brabant', 'capstring') }}

              lat : {{ state_attr('sensor.politie_brabant', 'latitude') }} 
              long: {{ state_attr('sensor.politie_brabant', 'longitude') }}

              <br>

              Dienst: {{ state_attr('sensor.politie_brabant', 'dienst') }}

              info :  {{ state_attr('sensor.politie_brabant', 'brandinfo')
              }}<br>

              Regio id : {{ state_attr('sensor.politie_brabant', 'regioid')
              }}       Dienst id : {{ state_attr('sensor.politie_brabant',
              'dienstid') }}

              Prio : {{ state_attr('sensor.politie_brabant', 'prio1') }}

              Grip : {{ state_attr('sensor.politie_brabant', 'grip') }}


              Id nr : {{ state_attr('sensor.politie_brabant', 'id') }}<br>
          - type: heading
            icon: mdi:calendar
            heading: Logbook
            heading_style: subtitle
          - type: logbook
            entities:
              - sensor.politie_brabant
            hours_to_show: 24
          - type: heading
            icon: mdi:map
            heading: Map
            heading_style: subtitle
          - type: map
            default_zoom: 12
            entities:
              - entity: sensor.politie_brabant
        visibility:
          - condition: state
            entity: input_select.p2000_selector
            state: Politie
      - type: grid
        cards:
          - type: heading
            icon: mdi:exclamation-thick
            heading_style: subtitle
            heading: Current Event
          - type: markdown
            content: >
              Datum : {{ state_attr('sensor.brandweer_brabant', 'datum' ) }}  
              Tijd: {{ state_attr('sensor.brandweer_brabant', 'tijd') }}


              Melding : {{ state_attr('sensor.brandweer_brabant', 'melding')
              }}<br>


              {{ state_attr('sensor.brandweer_brabant', 'tekstmelding') }}<br>

              -

              Plaats: {{ state_attr('sensor.brandweer_brabant', 'plaats') }}

              Straat : {{ state_attr('sensor.brandweer_brabant', 'straat') }} 

              Regio : {{ state_attr('sensor.brandweer_brabant', 'regio') }}

              capcode : {{ state_attr('sensor.brandweer_brabant', 'capstring')
              }}

              lat : {{ state_attr('sensor.brandweer_brabant', 'latitude') }} 
              long: {{ state_attr('sensor.brandweer_brabant', 'longitude') }}

              <br>

              Dienst: {{ state_attr('sensor.brandweer_brabant', 'dienst') }}

              info :  {{ state_attr('sensor.brandweer_brabant', 'brandinfo')
              }}<br>

              Regio id : {{ state_attr('sensor.brandweer_brabant', 'regioid')
              }}       Dienst id : {{ state_attr('sensor.brandweer_brabant',
              'dienstid') }}

              Prio : {{ state_attr('sensor.brandweer_brabant', 'prio1') }}

              Grip : {{ state_attr('sensor.brandweer_brabant', 'grip') }}


              Id nr : {{ state_attr('sensor.brandweer_brabant', 'id') }}<br>
          - type: heading
            icon: mdi:calendar
            heading: Logbook
            heading_style: subtitle
          - type: logbook
            entities:
              - sensor.brandweer_brabant
            hours_to_show: 24
          - type: heading
            icon: mdi:map
            heading: Map
            heading_style: subtitle
          - type: map
            default_zoom: 12
            entities:
              - entity: sensor.brandweer_brabant
        visibility:
          - condition: state
            entity: input_select.p2000_selector
            state: Brandweer
      - type: grid
        cards:
          - type: heading
            icon: mdi:exclamation-thick
            heading_style: subtitle
            heading: Current Event
          - type: markdown
            content: >
              Datum : {{ state_attr('sensor.ambulance_brabant', 'datum' ) }}  
              Tijd: {{ state_attr('sensor.ambulance_brabant', 'tijd') }}


              Melding : {{ state_attr('sensor.ambulance_brabant', 'melding')
              }}<br>


              {{ state_attr('sensor.ambulance_brabant', 'tekstmelding') }}<br>

              -

              Plaats: {{ state_attr('sensor.ambulance_brabant', 'plaats') }}

              Straat : {{ state_attr('sensor.ambulance_brabant', 'straat') }} 

              Regio : {{ state_attr('sensor.ambulance_brabant', 'regio') }}

              capcode : {{ state_attr('sensor.ambulance_brabant', 'capstring')
              }}

              lat : {{ state_attr('sensor.ambulance_brabant', 'latitude') }} 
              long: {{ state_attr('sensor.ambulance_brabant', 'longitude') }}

              <br>

              Dienst: {{ state_attr('sensor.ambulance_brabant', 'dienst') }}

              info :  {{ state_attr('sensor.ambulance_brabant', 'brandinfo')
              }}<br>

              Regio id : {{ state_attr('sensor.ambulance_brabant', 'regioid')
              }}       Dienst id : {{ state_attr('sensor.ambulance_brabant',
              'dienstid') }}

              Prio : {{ state_attr('sensor.ambulance_brabant', 'prio1') }}

              Grip : {{ state_attr('sensor.ambulance_brabant', 'grip') }}


              Id nr : {{ state_attr('sensor.ambulance_brabant', 'id') }}<br>
          - type: heading
            icon: mdi:calendar
            heading: Logbook
            heading_style: subtitle
          - type: logbook
            entities:
              - sensor.ambulance_brabant
            hours_to_show: 24
          - type: heading
            icon: mdi:map
            heading: Map
            heading_style: subtitle
          - type: map
            default_zoom: 12
            entities:
              - entity: sensor.ambulance_brabant
        visibility:
          - condition: state
            entity: input_select.p2000_selector
            state: Ambulance
      - type: grid
        cards:
          - type: custom:hki-navigation-card
            position: bottom-right
            offset_x: 12
            offset_y: 20
            button_size: 50
            gap: 12
            vertical_gap: 12
            z_index: 5
            base:
              button:
                id: 4e8c1d57-1c4c-48cb-83a0-447264197745
                icon: mdi:home
                tooltip: Home
                label: ''
                entity: input_boolean.kiosk_mode
                button_type: icon
                background: ''
                background_opacity: ''
                icon_color: ''
                label_style: {}
                pill_width: ''
                tap_action:
                  action: navigate
                  navigation_path: /lovelace/home
                hold_action:
                  action: none
                double_tap_action:
                  action: toggle
            horizontal:
              enabled: true
              columns: 6
              buttons:
                - id: e1b058dd-45fb-4395-b48a-75dbfb98c0e8
                  icon: mdi:floor-plan
                  tooltip: ''
                  label: Rooms
                  entity: ''
                  button_type: ''
                  background: ''
                  background_opacity: ''
                  icon_color: ''
                  label_style: {}
                  pill_width: ''
                  conditions_mode: all
                  conditions: []
                  tap_action:
                    action: navigate
                    navigation_path: /lovelace/rooms
                  hold_action:
                    action: none
                  double_tap_action:
                    action: none
                - id: b6cbacab-fcf7-41be-a009-6d9961181441
                  icon: mdi:chevron-left
                  tooltip: Overview
                  label: ''
                  entity: ''
                  button_type: icon
                  background: DarkOrange
                  background_opacity: ''
                  icon_color: ''
                  label_style: {}
                  pill_width: ''
                  conditions_mode: all
                  conditions: []
                  tap_action:
                    action: back
                    navigation_path: /lovelace/rooms
                  hold_action:
                    action: none
                  double_tap_action:
                    action: none
            vertical:
              enabled: false
              rows: 6
              buttons:
                - id: e1fd568d-f004-44c3-9207-cf3458f8d84f
                  icon: mdi:cog
                  tooltip: Settings
                  label: Settings
                  entity: ''
                  button_type: pill
                  background: ''
                  background_opacity: ''
                  icon_color: ''
                  label_style: {}
                  pill_width: ''
                  conditions_mode: all
                  conditions: []
                  tap_action:
                    action: navigate
                    navigation_path: /config
                  hold_action:
                    action: none
                  double_tap_action:
                    action: none
            default_background: ''
            default_button_opacity: 1
            default_icon_color: ''
            button_box_shadow: 0 8px 24px rgba(0, 0, 0, 0.35)
            button_box_shadow_hover: 0 10px 30px rgba(0, 0, 0, 0.42)
            default_button_type: icon
            label_style:
              font_size: 12
              font_weight: 600
              letter_spacing: 0
              text_transform: none
              color: ''
              background: ''
              background_opacity: 0.72
              padding_x: 10
              padding_y: 6
              border_radius: 999
              backdrop_blur: 8
              max_width: 220
            pill_width: 0
            center_spread: false
            offset_x_mobile: null
            offset_x_tablet: null
            offset_x_desktop: null
            bottom_bar_enabled: false
            bottom_bar_height: 85
            bottom_bar_color: rgb(var(--rgb-card-background-color, 0,0,0))
            bottom_bar_opacity: 0.85
            bottom_bar_full_width: false
            bottom_bar_border_radius: 0
            bottom_bar_box_shadow: ''
            bottom_bar_bottom_offset: 0
            bottom_bar_margin_left: 0
            bottom_bar_margin_right: 0
            bottom_bar_border_width: 0
            bottom_bar_border_style: solid
            bottom_bar_border_color: ''
    header:
      card:
        type: custom:hki-header-card
        title: P2000
        subtitle: Calamities Monitor
        background: https://i.ytimg.com/vi/leTQjerjkBQ/maxresdefault.jpg
        min_height: 215
        max_height: 270
        title_offset_y: 65
        subtitle_offset_y: 70
        badges_gap: 30
        badges_fixed: true
        top_bar_offset_y: 15
        top_bar_padding_x: 0
        top_bar_left: custom
        top_bar_right: weather
        top_bar_left_card:
          type: custom:hki-notification-card
          use_header_styling: true
          show_background: false
          show_empty: true
          display_mode: ticker
          animation: bounce
          direction: right
          time_format: '24'
          entity: sensor.hki_notify_main
        info_pill: true
        top_bar_left_offset_x: 0
        top_bar_right_weather_icon_color_mode: state
        top_bar_right_animate_icon: float
        top_bar_right_tap_action:
          action: more-info
          entity: weather.buienradar
        top_bar_right_weather_entity: weather.openweathermap
        top_bar_right_show_humidity: false
        top_bar_right_show_wind: false
        top_bar_right_show_pressure: false
    badges:
      - type: custom:mushroom-template-badge
        card_mod:
          style: |
            :host {
              {% if is_state('input_select.p2000_selector', 'Politie') %}
                --ha-card-background: white;
                color: var(--accent-color);
                --primary-text-color: black;
              {% endif %}
            }
        content: Politie
        icon: mdi:car-emergency
        tap_action:
          action: perform-action
          perform_action: input_select.select_option
          target:
            entity_id: input_select.p2000_selector
          data:
            option: Politie
      - type: custom:mushroom-template-badge
        card_mod:
          style: |
            :host {
              {% if is_state('input_select.p2000_selector', 'Brandweer') %}
                --ha-card-background: white;
                color: var(--accent-color);
                --primary-text-color: black;
              {% endif %}
            }
        content: Brandweer
        icon: mdi:fire-truck
        tap_action:
          action: perform-action
          perform_action: input_select.select_option
          target:
            entity_id: input_select.p2000_selector
          data:
            option: Brandweer
      - type: custom:mushroom-template-badge
        card_mod:
          style: |
            :host {
              {% if is_state('input_select.p2000_selector', 'Ambulance') %}
                --ha-card-background: white;
                color: var(--accent-color);
                --primary-text-color: black;
              {% endif %}
            }
        content: Ambulance
        icon: mdi:ambulance
        tap_action:
          action: perform-action
          perform_action: input_select.select_option
          target:
            entity_id: input_select.p2000_selector
          data:
            option: Ambulance