---
title: "ESPHome: Customize Zone Inputs on Konnected Alarm Panels"
description: Use all the input and output features of ESPHome on your Konnected Alarm Panel device.
---

[Skip to content](https://support.konnected.io/esphome-customize-zone-inputs-on-konnected-alarm-panel#main-content)

English

Show submenu for translations

[Submit a Ticket](https://support.konnected.io/kb-tickets/new?hsLang=en) [Customer portal](https://support.konnected.io/tickets-view?hsLang=en)

![Refreshed Logo Blue (HQ)](https://support.konnected.io/hs-fs/hubfs/Refreshed%20Logo%20Blue%20(HQ).png?width=250&height=45&name=Refreshed%20Logo%20Blue%20(HQ).png)

- [Tickets](https://22554404.hs-sites.com/tickets-view)
- [Sign out](https://22554404.hs-sites.com/_hcms/mem/logout)

Open main navigation

Close main navigation

- [Tickets](https://22554404.hs-sites.com/tickets-view)
- [Sign out](https://22554404.hs-sites.com/_hcms/mem/logout)
- English
  
  Show submenu for translations
- [Submit a Ticket](https://support.konnected.io/kb-tickets/new)
- [Customer portal](https://support.konnected.io/tickets-view)
- [Shop Now](https://konnected.io/collections/shop-now)

[Shop Now](https://konnected.io/collections/shop-now)

 Konnected Knowledge Base

- There are no suggestions because the search field is empty.

1. [Help & Support](https://support.konnected.io/?hsLang=en)
2. [ESPHome](https://support.konnected.io/esphome?hsLang=en)
3. [ESPHome](https://support.konnected.io/esphome?hsLang=en#esphome)

# ESPHome: Customize Zone Inputs on Konnected Alarm Panels

## How to change zone types and settings in ESPHome and use different types of sensors and outputs

By default, Konnected's ESPHome builds set up each *zone* on the Konnected Alarm Panel as a basic binary input. *Binary* means that it has two states: open/closed or detected/not-detected. 

This article will show you how to customize the zones for different use cases.

**📖 Required Reading:** [Adopting an ESPHome device](https://support.konnected.io/adopt-an-esphome-device-into-esphome-dashboard?hsLang=en) and [ESPHome customization basics](https://support.konnected.io/esphome-firmware-customization-basics?hsLang=en).

### Binary Sensor Inputs

Konnected's ESPHome builds define entity IDs named *zone1* thru *zone6* on the [6-zone boards](https://github.com/konnected-io/konnected-esphome/blob/master/alarm-panel-esp8266.yaml) and *zone12* on the [Alarm Panel Pro.](https://github.com/konnected-io/konnected-esphome/blob/master/alarm-panel-pro-esp32-ethernet.yaml#L95)

Konnected's default binary sensor configuration sets up a basic input zone that can has limited customization in Home Assistant (name, device class, and icon). For more advanced customizations, you can use the *!extend* keyword to extend functionality.

#### Changing the Name and/or type of a Zone

You can rename zones and set the device class in the Home Assistant UI, or extend the zone configuration and [override the name and device\_class](https://esphome.io/components/binary_sensor/index.html#base-binary-sensor-configuration) so that your zone configuration is saved in the firmware. This example renames Zone 3 to "Upstairs Windows" and sets Zone 4 as a motion sensor called "Downstairs":

```
binary_sensor:  - id: !extend zone3    name: Upstairs Windows    device_class: window  - id: !extend zone4    name: Downstairs    device_class: motion
```

#### Inverting a Sensor

You may need to invert a sensor if the states are reversed, for example a smoke detector that is normally open, by extending the config and setting *inverted* to true like this:

```
 binary_sensor:  - id: !extend zone3    name: Smoke Alarm    device_class: smoke    pin:      inverted: true
```

#### Prevent "Flickering" State Changes or Debouncing

Sometimes a contact sensor will open and close a few times very fast when moving, so to prevent many rapid state changes we use a [*debouncing* filter](https://esphome.io/components/binary_sensor/gpio.html#debouncing-values). By default this is set to 200 milliseconds. You can adjust it globally:

```
substitutions:  sensor_debounce_time: 500ms
```

Or individually overriding a specific input zone:

```
binary_sensor:  - id: !extend zone1    filters:      - delayed_on_off: 500ms
```

 

- [Konnected Devices in General](https://support.konnected.io/konnected-devices-in-general?hsLang=en#main-content)

    - [Intro to Konnected](https://support.konnected.io/konnected-devices-in-general?hsLang=en#intro-to-konnected)
    - [Power](https://support.konnected.io/konnected-devices-in-general?hsLang=en#power)
    - [WiFi and Networking](https://support.konnected.io/konnected-devices-in-general?hsLang=en#wifi-and-networking)
    - [Firmware and Updates](https://support.konnected.io/konnected-devices-in-general?hsLang=en#firmware-and-updates)
    - [Security Best Practices](https://support.konnected.io/konnected-devices-in-general?hsLang=en#security-best-practices)
- [Alarm Panel](https://support.konnected.io/alarm-panel?hsLang=en#main-content)

    - [Installation Guide Table of Contents](https://support.konnected.io/alarm-panel?hsLang=en#installation-guide-table-of-contents)
    - [Wiring and Connection Guides](https://support.konnected.io/alarm-panel?hsLang=en#wiring-and-connection-guides)
    - [Interfacing In-parallel with a Traditional Alarm System](https://support.konnected.io/alarm-panel?hsLang=en#interfacing-in-parallel-with-a-traditional-alarm-system)
    - [Alarm Panel Pro](https://support.konnected.io/alarm-panel?hsLang=en#alarm-panel-pro)
    - [6-Zone Alarm Panel & Alarm Panel Add-on (discontinued)](https://support.konnected.io/alarm-panel?hsLang=en#6-zone-alarm-panel-alarm-panel-add-on-discontinued)
    - [Standalone Alarm System](https://support.konnected.io/alarm-panel?hsLang=en#standalone-alarm-system)
- [GDO blaQ](https://support.konnected.io/gdo-blaq?hsLang=en#main-content)

    - [Getting Started with the GDO blaQ](https://support.konnected.io/gdo-blaq?hsLang=en#getting-started-with-the-gdo-blaq)
    - [Platform Integrations](https://support.konnected.io/gdo-blaq?hsLang=en#platform-integrations)
    - [Device Features](https://support.konnected.io/gdo-blaq?hsLang=en#device-features)
- [GDO White](https://support.konnected.io/gdo-white?hsLang=en#main-content)

    - [Garage Door Opener White Installation and Setup Guide](https://support.konnected.io/gdo-white?hsLang=en#garage-door-opener-white-installation-and-setup-guide)
    - [Detailed Wiring Guide](https://support.konnected.io/gdo-white?hsLang=en#detailed-wiring-guide)
    - [Garage Door Opener v1 Installation and Setup Guide](https://support.konnected.io/gdo-white?hsLang=en#garage-door-opener-v1-installation-and-setup-guide)
- [Accessories](https://support.konnected.io/accessories?hsLang=en#main-content)

    - [Backup Batteries](https://support.konnected.io/accessories?hsLang=en#backup-batteries)
    - [Sensors](https://support.konnected.io/accessories?hsLang=en#sensors)
- [SmartThings](https://support.konnected.io/smartthings?hsLang=en)
- [Home Assistant](https://support.konnected.io/home-assistant?hsLang=en)
- [Hubitat](https://support.konnected.io/hubitat?hsLang=en#main-content)

    - [GDO White](https://support.konnected.io/hubitat?hsLang=en#gdo-white)
    - [Legacy drivers](https://support.konnected.io/hubitat?hsLang=en#legacy-drivers)
    - [Alarm Panels](https://support.konnected.io/hubitat?hsLang=en#alarm-panels)
    - [Troubleshooting](https://support.konnected.io/hubitat?hsLang=en#troubleshooting)
- [Control4](https://support.konnected.io/control4?hsLang=en)
- [ESPHome](https://support.konnected.io/esphome?hsLang=en#main-content)

    - [ESPHome](https://support.konnected.io/esphome?hsLang=en#esphome)
    - [Konnected Device API](https://support.konnected.io/esphome?hsLang=en#konnected-device-api)
    - [openHAB](https://support.konnected.io/esphome?hsLang=en#openhab)
- [Matter](https://support.konnected.io/matter?hsLang=en)
- [Frequently Asked Questions (FAQ)](https://support.konnected.io/frequently-asked-questions-faq?hsLang=en#main-content)

    - [Garage Door Opener](https://support.konnected.io/frequently-asked-questions-faq?hsLang=en#garage-door-opener)
    - [General](https://support.konnected.io/frequently-asked-questions-faq?hsLang=en#general)
    - [Pre-Purchase Guides](https://support.konnected.io/frequently-asked-questions-faq?hsLang=en#pre-purchase-guides)
- [Troubleshooting](https://support.konnected.io/troubleshooting?hsLang=en#main-content)

    - [Hardware issues](https://support.konnected.io/troubleshooting?hsLang=en#hardware-issues)
    - [Frequently Asked Questions (FAQs)](https://support.konnected.io/troubleshooting?hsLang=en#frequently-asked-questions-faqs)
    - [Device Discovery](https://support.konnected.io/troubleshooting?hsLang=en#device-discovery)
    - [Konnected Device Firmware & Software](https://support.konnected.io/troubleshooting?hsLang=en#konnected-device-firmware-software)
    - [Legacy: HASS Install](https://support.konnected.io/troubleshooting?hsLang=en#legacy-hass-install)
    - [Legacy: Wiring Info](https://support.konnected.io/troubleshooting?hsLang=en#legacy-wiring-info)
    - [Garage Door Opener](https://support.konnected.io/troubleshooting?hsLang=en#garage-door-opener)
- [Orders, Shipping & Returns](https://support.konnected.io/orders-shipping-returns?hsLang=en#main-content)

    - [Refund and Return Policies](https://support.konnected.io/orders-shipping-returns?hsLang=en#refund-and-return-policies)
    - [Shipping Information and Policies](https://support.konnected.io/orders-shipping-returns?hsLang=en#shipping-information-and-policies)
- [Safety Information](https://support.konnected.io/safety-information?hsLang=en#main-content)

    - [Standards & Certifications](https://support.konnected.io/safety-information?hsLang=en#standards-certifications)
    - [Warnings & Disclosures](https://support.konnected.io/safety-information?hsLang=en#warnings-disclosures)
- [Products](https://support.konnected.io/products?hsLang=en#main-content)

    - [Depreciated Support Articles](https://support.konnected.io/products?hsLang=en#depreciated-support-articles)
- [FAQs](https://support.konnected.io/faqs?hsLang=en#main-content)

    - [Additional Wiring Guides](https://support.konnected.io/faqs?hsLang=en#additional-wiring-guides)
- [SmartThings Steps](https://support.konnected.io/smartthings-steps?hsLang=en)
- [Noonlight](https://support.konnected.io/noonlight?hsLang=en)
- [Alexa](https://support.konnected.io/alexa?hsLang=en)
- [Google Home](https://support.konnected.io/google-home?hsLang=en)

[![Konnected](https://support.konnected.io/hubfs/konnected-logo-white.svg "Konnected")](http://konnected.io)

<https://www.facebook.com/konnected.io> <https://www.youtube.com/c/konnected-io> <https://www.instagram.com/konnected.io/> <https://www.linkedin.com/company/konnected-io> [mailto:help@konnected.io](mailto:help@konnected.io)

Copyright © 2025, Konnected Inc.